The Xue family from Leiyang County had a daughter by the name of Xue Mei. They betrothed her to a boy from the Huang family, but just before the wedding Xue Mei was struck by a mysterious sickness that made her dangerously ill.
While delirious she was approached by a white-haired old man. He began to massage her all over, gradually working his way down to her hips and genitals. She became very embarrassed and tried to stop him, but he continued to massage the area.
Before he left, he forcefully inserted something into her genital area. Xue Mei cried out and her worried parents came running in to see what was wrong. Then they saw that although her illness had passed she had been transformed into a man in the process.
The acting magistrate was Zhang Xizu, and he and another official, Tao Huixuan, who happened to be in the prefecture on other business, came to the Xue house to examine the girl. They officially confirmed that Xue Mei had become a man. Her voice and facial features were still those of a woman, but in her groin she had a penis and all that remained of her vagina was a crack in the skin.
The Xue family changed her name from Xue Mei to Xue Lai and so the number of sons in the household increased from two to three.