Having relieved the fetal energy, the master and three disciples continued their journey westward. Before long, they arrived at the capital of the Western Liang Women's Kingdom. This kingdom consisted entirely of women, who had never seen a man. Suddenly encountering Master Tang and his three disciples, women from all over the city crowded around to watch, creating a great uproar. When the queen heard the report, she urgently summoned her civil and military officials to discuss the matter. The queen, having long lived deep in the palace and never seen an outsider man, was greatly delighted by the handsome appearance of Tang Sanzang and immediately developed feelings of love. The queen said, 'In my view, the countenance of this Imperial Brother is truly that of a man from the celestial empire above. If he could become my husband and share glory and wealth with me, would that not be wonderful!'
The female officials also chimed in one after another, urging the queen to take Tang Sanzang as her husband. The queen then summoned Tang Sanzang to the palace and frankly told him of her intentions. Upon hearing this, Tang Sanzang was greatly shocked inside, but in order to obtain the travel permit, he had to pretend to go along. He bowed to the queen and said, 'I am a monk on a mission from the Great Tang to fetch scriptures from the Western Heaven. If I could receive Your Majesty's favor, I should form a hundred-year union with Your Majesty. But I have three disciples who have toiled all year long. It would be better first to give me the travel permit, let me send my disciples on their way westward, and then I shall marry Your Majesty.'
Sun Wukong, seeing his master agree, knew it was only a temporary expedient, but he still broke out in a cold sweat for his master. He secretly transmitted a message to Tang Sanzang: 'Master, just play along with her. Once we obtain the travel permit, we will naturally make our escape.'
The queen, hearing Tang Sanzang's words, thought he was truly willing to stay, and was overjoyed. She immediately ordered the travel permit to be prepared, arranged a royal banquet, and set up the bridal chamber. In an instant, the entire city was bedecked with lanterns and colorful banners, filled with joy and excitement. The queen and Tang Sanzang held a 'wedding ceremony' in the hall. Tang Sanzang was anxious inside, but his face feigned happiness. After they bowed to heaven and earth and drank the nuptial wine, the queen personally handed the travel permit to Tang Sanzang.