The Ottoman Empire signed an armistice with the Allies, ending the First World War in the Middle East.