In Ancient Fujian, the region had developed a sexual culture isolated from that of the rest of the Chinese empire. During the Qing Dynasty, the local population began worshipping a Taoist deity known as Tu Er Shen, who served as the guardian of same-sex love. The deity was originally a human by the name of Hu Tianbao. Hu was executed after having been caught peeping on a nobleman he had become attracted to. He was originally destined to go to hell, but the guardians of the spirit realm took pity on him, as his crime was committed out of love. He was then appointed as the guardian of same-sex love.