Lord Cranborne was appointed lieutenant-colonel of the 4th (Militia) battalion Bedfordshire Regiment (formerly the Hertfordshire Militia) on 29 October 1892, and was in command when the battalion saw active service in South Africa from March to November 1900, during the Second Boer War.