William Raines Marshall was born on 29 October 1865 in the village of
Stranton, near
Hartlepool,
County Durham, England. He was the younger son of a solicitor, William Marshall, and his wife, Elizabeth Raine. He spent the first few years of his military career with the 1st Battalion of his regiment, before being transferred to the 2nd Battalion, then serving in
British India. He returned to Britain in May 1892, and was promoted to
captain in January 1893. He returned to India in May 1894, after which he served on the
Malakand expedition in the late 1890s, on the
North West Frontier of India, and in the
Tirah expedition. He "was present at the storming of the Daghai Heights and the capture of the Samphaga and Arhanga Passes, earning the
Indian Frontier Medal of 1895 with two clasps". He returned to Britain in October 1898 and was posted to
Malta, where he helped in the creation of a school for
mounted infantry. In May 1900, several months after the beginning of the
Second Boer War, he was sent to South Africa where he assumed command of a company of mounted infantry. He did this until January 1901 when he was promoted to the local rank of
major in order to take command of a battalion of mounted infantry. In July of that year he was promoted once again, this time to the
brevet rank of major, and, in December, he took over the command of a mounted column, consisting of several thousand men. He remained in this position until hostilities were brought to an end due to the
Treaty of Vereeniging in May 1902. He was slightly
wounded during the war but was twice
mentioned in dispatches, and received the
Queen's Medal with three
clasps as well as the
King's Medal with two clasps. He also received a brevet promotion to
lieutenant colonel in the South African Honours list, published on 26 June. Having returned back to Britain with his battalion in October "and for the next eight years served as a
company commander". He returned to his regiment in January 1903, was promoted to the substantial rank of major in December 1904, and to brevet
colonel in June 1908. In January 1911, he was appointed as an assistant commandant of the School of Instruction for Mounted Infantry at
Longmoor, Hampshire. He was only there until September when he returned to regimental duty, and then served for two years as
second-in-command of the 1st Battalion, Sherwood Foresters before being promoted to the substantive rank of lieutenant colonel in February 1912, when he became the battalion's new
commanding officer (CO) in succession to Colonel
Owen Wolley-Dod. At the end of the year, Marshall and his battalion were sent to India, "and had then become coast and internal defence troops" in
Bombay. ==First World War==