The Mongolian general Kitbuqa took Baalbek in 1260 and dismantled its fortifications. Later in the same year, however, Qutuz, the sultan of Egypt, defeated the Mongols and placed Baalbek under the rule of their emir in Damascus. Most of the city's still-extant fine mosque and fortress architecture dates to the reign of the sultan Qalawun in the 1280s. By the early 14th century, Abulfeda the Hamathite was describing the city's "large and strong fortress". The revived settlement was again destroyed by a flood on 10 May 1318, when water from the east and northeast made holes wide in walls thick. 194 people were killed and 1500 houses, 131 shops, 44 orchards, 17 ovens, 11 mills, and 4 aqueducts were ruined, along with the town's mosque and 13 other religious and educational buildings. In 1400, Timur pillaged the town, and there was further destruction from a 1459 earthquake.