 After completing his military training, Yang was involved in the suppression of the White Lotus Rebellion (17941804).In 1826, the sixth year of the reign of the Daoguang Emperor, Yang joined an army that marched north to Xinjiang to suppress a rebellion led by Altishahri warlord Jahangir Khoja.For his outstanding service during the mission he was rewarded with the title of Grand Tutor to the Heir Apparent ("Tàizǐ Tàifù", ).