 Complete the following phrase:  In 1789, Murray obtained a commission into the 71st Foot, reaching the rank of captain in 1794, and saw service in Flanders 179495, the West Indies, England and Ireland. In 1799 , he was made a lieutet-colonel, entering the Quartermaster Generals Department and making his considerable reputation as Quartermaster General 180811 during the Peninsular War, under the Duke of Wellington, and receiving promotion to Colonel in 1809. After a brief period as Quartermaster General in Ireland, Murray returned to the Peninsular Campaign as Major-General 181314, and was invested with the Order of the Bath in 1813. During the Peninsular War he was present at the battles of A Coruña, Talavera, Busaco, Fuentes de Oñoro, Vittoria, Nivelle, Nive, 