When his father ascended the throne as King Muyeol after his return, he was given a director position called Hachinsan (forth-ranked officer) in 654, and then he was appointed Crown Prince.
帰国して後に父が武烈王として即位すると、654年に新羅官位制度（4等官）の位で兵部令（長官）となり、次いで太子に立てられた。