The custom of using
Chinese door gods to guard the front doors
of houses reportedly started in the Tang Dynasty, when its founding emperor
was troubled by an evil spirit and had two of his brave generals guard the
front doors of his palace. Since the generals were not fulltime available,
the emperor ordered their portraits painted on his front door instead.