sentences:  Emperor Wen died in 604, and Yang Hao's uncle Yang Guang took the throne as Emperor Yang.In 606, he created Yang Hao the Prince of Qin and Yang Zhan the Marquess of Jibei.By 613, Yang Hao was serving as the commander of the militia in Heyang Commandery (河陽, roughly modern Jiaozuo, Henan) when the general Yang Xuangan rebelled nearby.