 He held the seat until 1918 when he stood down from Parliament.Ainsworth was High Sheriff of Cumberland in 1891  and was later Deputy Lieutenant of Cumberland  and of Argyllshire.He commanded the 3rd Volunteer Battalion, the Border Regiment from 1898 to November 1902, and received the honorary rank of colonel as he retired.