Pirie was responsible for overseeing the delivery of a fleet of 44 boats for the Nile Expedition in 1884,[7] in which he participated (including the battle of Kirbekan), as well as the Sudan campaign, seeing action in the battles of Teb and Tamai. He was again mentioned in despatches in 1885, whiles stationed in Egypt. While there, he was promoted to captain in the 5th (Royal Irish) Lancers and was stationed in Ireland upon his return. Another transfer, to the 3rd (Kings Own) Hussars occurred in 1888. In April 1890, Pirie was appointed as ADC to the Governor of Ceylon, Arthur Havelock, a position he held until he resigned from the role in 1893, when he returned to the 3rd Hussars in Ireland. Pirie officially resigned from the military in 1898, having been seconded after his successful election bid in 1896. Despite this, he returned to the military on two occasions, first serving in South Africa in the Remounts Department during the Second Boer War in 1900, and then again following the outbreak of World War I, between 1914 and 1918. During this time he was appointed as a Railway Transport Officer and later an assistant Military Landing Officer. In 1916 he was appointed temp. Major of 1st (Garrison) Battalion, Suffolk Regiment. He was later promoted to lieutenant-colonel, before retiring once more after the end of the war. In 1900, Pirie was appointed a deputy lieutenant of Aberdeen, a role he held until 1921.
Political career
Pirie's first foray into politics was an unsuccessful bid as the Liberal candidate for West Renfrewshire at the 1895 general election. A year later, the resignation of William Hunter led to a by-election for the constituency of Aberdeen North. Pirie stood again as a Liberal candidate, and was elected. He would go on to serve as MP for 22 years, before losing the seat to Frank Rose in December 1918.[8][9]
During his time in Parliament, Pirie came into prominence following his successful introduction of the Education (Scotland) bill in 1901, which raised the country's school leaving age from 12 to 14. He also played a part in the successful prevention of a proposal for seven-day newspapers in London in 1899.
During his time as an MP, the family usually split their time between Aberdeen, London and the family chateau in France. Both Pirie's Aberdeen and French homes were damaged by major fires in 1899 and 1905 respectively. In the case of the Aberdeen mansion, the building was destroyed, while Château de Varennes was restored, and remained in the family until the 1960s.[11]
Pirie retired from politics following the end of World War I, and spent much of the remainder of his life in both Aberdeen and at the chateau in France, where he died following a weeks illness in January 1931, aged 72.[12]