Serious losses on the Western Front in March 1918 during the German spring offensive, forced the British to divert forces from the EEF. During this time, two unsuccessful attacks were made, the First Transjordan attack on Amman and the Second Transjordan attack on Shunet Nimrin and Es Salt to capture Es Salt, in March and April 1918, before Allenby's force resumed the offensive, again employing manoeuvre warfare at the Battle of Megiddo. The successful infantry attacks of the Battle of Tulkarm and the Battle of Tabsor created gaps in the Ottoman defences, enabling the pursuit by the Desert Mounted Corps to encircle the Ottoman infantry fighting in the Judean Hills during the Battle of Nazareth, the Capture of Afulah and Beisan, the Capture of Jenin, the Battle of Samakh and the capture of Tiberias. The EEF destroyed three Ottoman armies during the Battle of Sharon, the Battle of Nablus and the Third Transjordan attack, capturing thousands of prisoners and large quantities of equipment. The EEF pursued the surviving German and Ottoman forces to Damascus and Aleppo, before the Ottoman Empire agreed to the Armistice of Mudros on 30 October 1918, ending the Sinai and Palestine Campaign. The British Mandate of Palestine, and the French Mandate for Syria and Lebanon were created to administer the captured territories.