Temujin attacked China in 1213 AD, occupying the Great Wall with his Mongol armies. He sent three armies into central China but then made peace with the Chinese emperor. However, war broke out again after a year and China was unable to defeat the Mongols.