Before He renounced His royalty style of life, He went on a fast for two days. That was a ritual to cleanse yourself, purify your soul, body, and mind before you became a monk. Since He was a prince, so all the citizens knew about it, knew about this ritual ceremony. So, in front of thousands of witnesses, He took off all His luxury and ornaments and even His dress. He had only one piece of cloth that was offered to Him by Indra. And then, "the Prince Vardhaman pulled out His hair in five strong fistfuls." I guess, the ritual at that time. "Then the Prince took the vow of ascetic life. 'I take the vow of practicing equanimity all through my life and abandon all intentional sinful activities.' 'In my ascetic life, I will remain equanimous in all conditions and circumstances…. As long as I do not attain omniscience, I will continue to tread the fire paved path of purity with unflinching and firm steps.'" "A wave of reverence started and thousands of heads bowed with reverence." "After the austere vow the Mahashraman, acquired Manahparyav Jnan, which allowed Him to perceive the feelings and thoughts of all beings."