The cruel treatment of civilians and the unsuccessful attempt to conquer Korea led to rebellion and the assassination of Emperor yang Ti, marking the end of Sui dynasty. The actual name of Emperor yang was Yang Ting but it was renamed by his father after consulting with the oracles to Yang Guang. The Sui Dynasty was established in the year 581. Yang Ti was given the charge of the five armies in the year 588 and after that he raided and captured the Chen Dynasty. he was showered with immense praise after the successful capture of the Chen Dynasty.