The high point of Mongol power came in 1517, when Dayan Khan moved on Beijing itself. Although the Chinese held the Mongols off in a major battle, Dayan Khan and his successors continued to threaten China until 1526. The Mongol armies raided the Ming dynasty not only in the north, but also in the hitherto quiet west. The Zhengde Emperor of the Ming dynasty lost his protectorate Hami to the Turpans at the same time. In 1542, Dayan Khan defeated Chinese troops just before his death.