Almost immediately after Emperor Taiwu took the throne, Rouran attacked after its Mouhanheshenggai Khan, Yujiulü Datan heard about Emperor Mingyuan's death. Emperor Taiwu engaged Rouran troops, and on the very first engagement became surrounded by Rouran troops, but he fought his way out of danger, and subsequently, he made nearly yearly attacks against Rouran, and each year, Rouran forces would elude him by retreating north, only to return south after he withdrew. Meanwhile, in 425, he reestablished peaceful relations with Liu Song. He also, in an action that later became a Northern Wei tradition, honored his wet nurse Lady Dou as "nurse empress dowager".