Jade Emperor approved the proposal, so Taibai Jinxing received the imperial edict and descended to the mortal world, arriving at the Water Curtain Cave on the Mountain of Flowers and Fruit to proclaim the decree.
Upon hearing that the Heavenly Court was recruiting him, Sun Wukong was overjoyed and, following Jinxing, rode the clouds straight up to the Southern Heavenly Gate.
Entering the Heavenly Gate, he saw magnificent jade towers and splendid golden palaces towering loftily. Sun Wukong paid homage to the Jade Emperor, who then asked him what abilities he possessed.
Sun Wukong presented his skills one by one: learning the Way and cultivating immortality, attaining eternal life, mastering seventy-two transformations, and being able to travel one hundred and eight thousand li with a single somersault cloud.
Seeing that he indeed had some abilities, the Jade Emperor ordered the civil and immortal officials to deliberate, and they appointed Sun Wukong as the Protector of the Horses, in charge of the heavenly steeds.
Sun Wukong accepted his official position with satisfaction and spent his days in the Imperial Stables. After a little over half a month, while chatting with the Stable Supervisor and Deputy Supervisor, he learned that the title 'Protector of the Horses' was a lowly, insignificant position, specifically for tending horses, without any rank at all.
Upon hearing this, Sun Wukong flew into a rage and said: ' What 'Protector of the Horses'! So it's just a stable boy! I, Old Sun, am king on the Mountain of Flowers and Fruit—how can I tolerate such humiliation!'
He immediately stormed out of the Imperial Stables, overturned his official desk, and headed straight back to the Mountain of Flowers and Fruit. All the heavenly soldiers and generals were unable to stop him.
When Sun Wukong returned to the Water Curtain Cave on the Mountain of Flowers and Fruit, the monkeys, hearing that he had come back from the Heavenly Court, hurriedly paid their respects.
Great Sage, during your visit to the Heavenly Court, what official position did you obtain?' the monkeys asked.
When Sun Wukong told them about the 'Protector of the Horses' position, all the monkeys laughed.
Such a minor post is hardly worthy of the Great Sage's majesty!' the monkeys advised him, ' It would be better to just be king on the Mountain of Flowers and Fruit—why endure that foul treatment!'
Sun Wukong, overjoyed, said: 'Well said! I, Old Sun, have vast magical powers—wouldn't it be magnificent to call myself the 'Great Sage, Equal of Heaven'?!'
He then ordered the monkeys to cut wood for a flagpole, and they raised a large banner high, inscribed with the four characters 'Great Sage, Equal of Heaven'.
Meanwhile, after the Protector of the Horses fled back to the Mountain of Flowers and Fruit, the Jade Emperor was alarmed. When the immortal officials learned of this, they all said that this monkey did not know his place.
In great fury, the Jade Emperor appointed Heavenly King Li Jing, Bearer of the Pagoda, as the Great Commander for Subduing Demons, and Prince Nezha as the Deity of the Three Altars and the Oceanic Assembly. They led a hundred thousand heavenly soldiers and generals down to the mortal world to capture the demon monkey.