The Jade Emperor approved, so the Great White Planet was sent to the mortal world to deliver the decree at Water Curtain Cave on the Mountain of Flowers and Fruit.
Upon hearing that Heaven was offering him an official position, Sun Wukong was overjoyed, and followed the Great White Planet on a cloud straight up to the Southern Heavenly Gate.
Once he entered the Heavenly Gate, he saw jade towers and golden palaces, magnificent and towering. 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, attaining immortality, mastering the seventy-two transformations, and riding his somersault cloud for 108,000 li.
Seeing that he indeed had some abilities, the Jade Emperor ordered the civil and immortal officials to deliberate and appointed Sun Wukong as the Protector of the Horses, in charge of the heavenly steeds.
Sun Wukong accepted the office, satisfied, and spent each day in the Imperial Stable. After half a month, he was chatting with the stable supervisors and assistant supervisors, and learned that 'Protector of the Horses' was a low-ranking, insignificant post—literally in charge of feeding horses, with no official rank.
Upon hearing this, Sun Wukong flew into a rage and said: ' What 'Protector of the Horses'! So it's just a stable boy! Old Monkey was king on the Mountain of Flowers and Fruit—how can I endure this insult!'
He immediately stormed out of the Imperial Stable, knocked over the official's desk, and went straight back to the Mountain of Flowers and Fruit. The heavenly soldiers and generals could not stop him.
Sun Wukong returned to Water Curtain Cave on the Mountain of Flowers and Fruit, and when the monkeys heard he had come back from Heaven, they quickly paid their respects.
'Great Sage, now that you've been to Heaven, what official position did you receive?' asked the monkeys.
Sun Wukong told them about the post of Protector of the Horses, and all the monkeys laughed.
'Such a petty official, how could it match the Great Sage's dignity!' the monkeys advised, ' It would be better to be king on the Mountain of Flowers and Fruit—why should you put up with that nonsense!'
Sun Wukong was delighted and said, 'Well said! Old Monkey's powers are vast—if I call myself 'Great Sage Equal to Heaven', wouldn't that be impressive?!'
He then ordered the monkeys to cut wood to make a pole and hoist a large banner bearing the four characters 'Great Sage Equal to Heaven'.
Meanwhile, after the Protector of the Horses fled back to the Mountain of Flowers and Fruit, the Jade Emperor was startled. When the immortal officials learned of it, they all said this monkey didn't know his place.
The Jade Emperor, greatly angered, appointed Heavenly King Li Jing, the Pagoda Bearer, as Grand Marshal for Subduing Demons, and Nezha, the Third Prince, as the Great Deity of the Three Altars and Oceans, to lead a hundred thousand heavenly soldiers and generals down to the mortal world to capture the demon monkey.