On 7 March 1799 Napoleon captured the town in what became known as the Siege of Jaffa, ransacked it, and killed scores of local inhabitants as a reaction to his envoys being brutally killed when delivering an ultimatum of surrender. Napoleon ordered the massacre of thousands of Muslim soldiers who were imprisoned having surrendered to the French. Napoleon's deputy commissioner of war Moit described it thus: