Legend & Origin
The story of the Door Gods begins with an emperor who couldn't sleep.
Legend says that Emperor Taizong of Tang, Li Shimin, after years of war and much bloodshed, was tormented after taking the throne by the ghosts of the wronged crying for his life. He could not sleep, the court physicians' medicines did nothing, and affairs of state ground nearly to a halt.
The generals Qin Shubao and Yuchi Gong volunteered: in full armor, one to each side, they stood guard outside the imperial bedchamber all night long. Strangely enough, from that night the ghosts dared not come near, and Taizong at last slept soundly. But guarding night after night wore even these iron men down.
Unwilling to see his beloved generals exhausted, Taizong hit upon a plan: he ordered court painters to depict the two in their full martial array and had the portraits pasted on the bedchamber doors. From a distance the ghosts saw the images and still dared not approach. Word spread, and commoners rushed to copy it, pasting portraits of the two generals on their own doors — a custom that has held for more than a thousand years, right down to today's Lunar New Year.
An earlier tradition of Door Gods actually comes from the Classic of Mountains and Seas: beneath the great peach tree on Mount Dushuo in the Eastern Sea, the two gods Shentu and Yulei captured ghosts and fed them to a tiger. But for sheer drama, the Qin-Yuchi pairing — real generals "standing in" as paintings — sank deepest into people's hearts and became Taiwan's most popular Door Gods.
