In 1918, units of Desert Mounted Corps participated in the Capture of Jericho in February, the First Transjordan attack on Amman in March and the Second Transjordan attack on Shunet Nimrin and Es Salt in April, while occupying the Jordan Valley during the summer. As a result of the German spring offensive on the Western Front the corps went through a reorganisation, when the majority of the British yeomanry regiments were dismounted and sent as infantry reinforcements to France. The Yeomanry Mounted Division and the 5th Mounted Brigade were disbanded, to be replaced by Indian cavalry regiments, which formed the 4th Cavalry Division and 5th Cavalry Division. They arrived in the Jordan Valley in May to join the corps and in September with four divisions, participated in the major offensive operations of the Battle of Sharon, a section of the Battle of Megiddo. The subsequent pursuit to Damascus followed by the Pursuit to Haritan, advances of almost into Turkish territory, resulted in the capture of 107,000 prisoners and over 500 pieces of artillery. At the end of October, the Armistice of Mudros ended the war against the Ottoman Empire and the corps became an occupation force in Syria. By March 1919 units were patrolling Egypt during the Egyptian Revolution of 1919. The Desert Mounted Corps was disbanded in June 1919.