It was conquered many times in the course of its history, by the Abbasids, the Ikhshidids, the Fatimids, the Seljuqs, the Crusaders, the Mameluks, the Ottoman Turks, the British, and the Israelis. After an outbreak of the Black Death in 1347, which greatly reduced the population, an order of Franciscan monks established a presence in the city. Under Arab and Ottoman rule the city became an important trade center. Napoleon's French Army occupied it in 1799 on its way to Acre.