 In fall 534, before Gao's forces arrived, Emperor Xiaowu fled west, meeting Li on the way.Li escorted Emperor Xiaowu back to Yuwen's headquarters at Chang'an, and Emperor Xiaowu reestablished the imperial government there.He made Yuwen his commander in chief, and married his sister Princess Pingyi（冯翊公主） to Yuwen.