 Too old for a field command in the First World War, he was posted to Aldershot, first as GOC Aldershot Training Centre and then as GOC Aldershot Command.He retired in 1918.Hunter was elected at the 1918 general election as a Coalition Conservative Member of Parliament (MP) for Lancaster, but stood down at the 1922 general election.