The armies of the Mongol Empire attacked Ayyubid Syria in the middle of the 13th century. The Mamluks overcame the Mongols at the Battle of Ain Jalut in 1260. In the early 16th century, the Mamluks lost control of Syria when the Ottoman Empire overcame them in war.