 In 1799 , Napoleon Bonaparte conquered Haifa during his unsuccessful campaign to conquer Palestine and Syria , but soon had to withdraw ; in the campaign 's final proclamation , Napoleon took credit for having razed the fortifications of " Kaïffa " ( as the name was spelled at the time ) along with those of Gaza , Jaffa and Acre . 
