 However, Emperor Xiaowu's relationship to the general that he then depended on, Yuwen Tai, soon deteriorated as well, and around the new year 535, Yuwen Tai poisoned Emperor Xiaowu to death, making Yuan Baoju emperor (as Emperor Wen).As Gao Huan had, late in 534, made Yuan Shanjian the son of Emperor Wen's cousin Yuan Dan (元亶) the Prince of Qinghe emperor (as Emperor Xiaojing), thus establishing Eastern Wei, Emperor Wen was known as Western Wei's first emperor, formalizing the division.Emperor Wen's relationship with Yuwen appeared cordial, but he was unable to exercise much real power.