The South African Railways Class 7D 4-8-0 of 1915 was a steam locomotive. Between 1899 and 1903, the Rhodesia Railways placed 52 Cape 7th Class 4-8-0 Mastodon steam locomotives in service. During the Second Boer War, one more was obtained from the Imperial Military Railways in March 1901, as replacement for a locomotive which was damaged beyond local repair capabilities as a result of hostilities during delivery.