During World War I, the British Army defeated the Ottoman Army in the Middle East during the Mesopotamian Campaign. Subsequently, the League of Nations designated Mesopotamia as the British Mandate of Mesopotamia. From 1920 to the early 1930s, RAF Iraq Command was created as an inter-service command in charge of all British forces in the mandate-controlled Kingdom of Iraq and was commanded by an RAF officer normally of Air Vice-Marshal rank.