 After Gao entered Luoyang, he sent messengers to request Emperor Xiaowu to return to Luoyang.When Emperor Xiaowu ignored his request, Gao made his distant nephew, Yuan Shanjian, emperor (as Emperor Xiaojing), dividing Northern Wei into two, with Eastern Wei recognizing Emperor Xiaojing, and Western Wei recognizing Emperor Xiaowu.Yuwen's relationship with Emperor Xiaowu, however, soon deteriorated.