The Australian and New Zealand Mounted Division (known as the ANZAC Mounted Division) was formed in Egypt in 1916, after the Australian and New Zealand Army Corps (ANZAC) was disbanded. Comprising four brigades, the 1st, 2nd and 3rd Australian Light Horse and the New Zealand Mounted Rifles Brigade. All had fought at Gallipoli dismounted. In August the division's dynamic capabilities were effectively combined with the static 52nd (Lowland) Infantry Division at the Battle of Romani, where they repelled an attempted Ottoman attack on the Suez Canal. This victory stopped the advance of Kress von Kressenstein's Expeditionary Force (3rd Infantry Division and Pasha I formation) towards the Suez Canal and forced his withdrawal under pressure. An Ottoman garrison at Magdhaba was defeated in December 1916 by the division with the Imperial Camel Corps Brigade attached and the other major Ottoman fortification at Rafah was captured in January 1917. They participated mounted in the First Battle of Gaza in March, and the Third Battle of Gaza (including the Battle of Beersheba) in October 1917. They attacked dismounted in the Second Battle of Gaza in April 1917. In 1918, the ANZAC and Australian Mounted Divisions, along with the Yeomanry Mounted Division in the Desert Mounted Corps, conducted two attacks across the Jordan River to Amman in March, then moved on to Es Salt in April. The Australian Mounted Division were armed with swords mid year, and as part of the Battle of Megiddo captured Amman (capturing 10,300 prisoners), Nazareth, Jenin and Samakh in nine days. After the Armistice they participated in the reoccupation of Gallipoli in December.