The Mongols faced war-elephants in Khorazm, Burma, Vietnam and India throughout the 13th century. Despite their unsuccessful campaigns in Vietnam and India, the Mongols defeated the war elephants outside Samarkand by using catapults and mangonels, and during the Mongol invasions of Burma in 1277–1287 and 1300–1302 by showering arrows from their famous composite bows. Genghis and Kublai both retained captured elephants as part of their entourage. Another central Asian invader, Timur faced similar challenges a century later. In 1398 Timur's army faced more than one hundred Indian elephants in battle and almost lost because of the fear they caused amongst his troops. Historical accounts say that the Timurids ultimately won by employing an ingenious strategy: Timur tied flaming straw to the back of his camels before the charge. The smoke made the camels run forward, scaring the elephants, who crushed their own troops in their efforts to retreat. Another account of the campaign reports that Timur used oversized caltrops to halt the elephants' charge. Later, the Timurid leader used the captured animals against the Ottoman Empire.