Stirling served in the Somaliland campaign, commanding the 7th Somali Camel Corps from 12 November 1903 to June 1904, for which he received the Africa General Service Medal and clasp.