40th Wing RFC was formed on 5 October 1917, under the control of the RFC's Palestine Brigade. Its primary roles were counter-air operations and attacks on enemy infrastructure. It also undertook extensive photo-reconnaissance work. Another formation under the Palestine Brigade, 5th Wing, performed air cooperation and close air support tasks. 40th Wing's first Officer Commanding was Lieutenant ColonelAmyas Borton; he was succeeded by Alexander Shekleton in late 1917. In June 1918, Lieutenant Colonel Richard Williams of the Australian Flying Corps took command of the wing, with No. 1 Squadron AFC and three RFC squadrons—Nos. 111, 144, and 145—at his disposal. No. 145 Squadron was also commanded by an Australian, Captain Roy Drummond. Based at Ramleh, the wing's inventory consisted of Bristol F.2B and S.E.5 fighters and DH.9 light bombers. Augmented by a giant Handley Page bomber, No. 40 Wing took part in the Battle of Megiddo, General Allenby's final offensive in Palestine, where its units inflicted "wholesale destruction" on Turkish columns through sustained aerial assaults. At Wadi Fara on 21 September 1918, the Palestine Brigade, including the 40th Wing's four squadrons, destroyed the bulk of the Turkish Seventh Army as it attempted to cross the Jordan River along an old Roman road leading from Nablus, an early demonstration of the effects of concentrated air attack on ground troops. Williams wrote: "The Turkish Seventh Army ceased to exist and it must be noted that this was entirely the result of attack from the air." A detachment from No. 1 Squadron also aided Major T. E. Lawrence's Arab army north of Amman when it was harassed by German aircraft operating from Deraa. While the wing's actions during the Battle of Megiddo "assured Allenby's victory" according to historian Lawrence James, the new method of waging war by inflicting "sickening slaughter" from the air provoked a strong reaction from Lieutenant GeneralEdward Bulfin, commander of the British XXI Corps. He confronted Major General Geoffrey Salmond, Air Officer CommandingRAF Middle East, with the comment, "You are a butcher—you call that fighting?" No. 40 Wing was based at RAF Ismailia in Egypt from 1919, and disbanded on 1 April 1920.
Order of battle
Prior to the Battle of Megiddo in September 1918, No. 40 Wing consisted of the following units and equipment: