 Yang was able to flee from Lan's attack and was not killed.Subsequently, Gao Cheng's younger brother Gao Yang took over the regency, and in 550 took over the throne, ending Eastern Wei and establishing Northern Qi.Emperor Wenxuan made Yang Yin his prime minister and created him the Duke of Huashan, and during Emperor Wenxuan's reign, Yang served capably, finding appropriate officials for the key posts.