In winter 415, pursuant to a peace agreement they had reached earlier, Later Qin's emperor Yao Xing sent his daughter the Princess Xiping to Northern Wei to be married to Emperor Mingyuan. He welcomed her with ceremony fitting an empress. However, Tuoba customs dictated that only a consort who was able to craft a gold statue by her hands could be empress, and Princess Xiping was unable to, so Emperor Mingyuan only created her an imperial consort, but within the palace honored her as wife and empress.