 He gave his kingdom to his son and became a Jain ascetic.After 9 months and then obtained Kevala Jnana (omniscience).After a many years of spreading his knowledge, he is said to have attained nirvana at Sammed Shikharji on the sixth day of the dark half of the month of "Phālguna".