Around the new year 535, Emperor Xiaowu of Northern Wei—a cousin of Yuan Baoju and the final emperor of the undivided Northern Wei state but who by now was only emperor over the western part of the state (i.e., Western Wei) -- was poisoned by the paramount general Yuwen Tai over a dispute developed when Yuwen disapproved of his incestuous relationship with Yuan Baoju's sister Yuan Mingyue (元明月). Yuwen Tai made Yuan Baoju the new emperor (as Emperor Wen). Emperor Wen created Princess Yifu empress, and created Yuan Qin crown prince.
Around the new year 535, Emperor Xiaowu of Northern Wei—a relative of Yuan Baoju and the last ruler of the undivided Northern Wei state but who by now was only emperor over the western part of the state (i.e., Western Wei) -- was poisoned by Yuwen Tai, who disapproved of his relationship with Yuan Baoju's sister, Yuan Mingyue.  Yuwen Tai made Yuan Baoju the new emperor (Emperor Wen). Emperor Wen then appointed Princess Yifu as empress and Yuan Qin as crown prince.