He then went on to play for Marylebone Cricket Club (MCC) in first-class fixtures until the 1926 season.
[3] Hartley played two Test matches for England on their tour to South Africa in 1905-06, but with little success.
[4] He made his highest score of 84 not out at the age of 50 when he captained MCC in a match against Wales in 1925.
He served with the 2nd battalion of his regiment in South Africa during the Second Boer War, where he was present at the Battle of Colenso (December 1899), engagements at Pieter's Hill, Hussar Hill and Hlangwani (February 1900), and the subsequent relief of Ladysmith in late February 1900.
[6] After the end of the war in South Africa in June 1902, Hartley resigned his commission on 26 November 1902.