West Bengal | Bengal | artillery | Royal Artillery | Artillery | Cinema of West Bengal | East Bengal | Artillery battery | Royal Garrison Artillery | Royal Field Artillery | Royal Horse Artillery | Government of West Bengal | Bengal tiger | Kalyani, West Bengal | coastal artillery | Bengal Nagpur Railway | artillery battery | Honourable Artillery Company | Coastal artillery | The Lives of a Bengal Lancer | Self-propelled artillery | North Bengal | Nightrunners of Bengal | Bengal Presidency | United States Army Field Artillery School | Swedish coastal artillery | Royal Artillery Barracks | magazine (artillery) | Eastern Bengal Railway | Bengal Army |
Of Scottish descent, MacGregor was born in Agra, India, the son of Major Robert Guthrie MacGregor of the Bengal Artillery.
He was serving as a Captain in the Bengal Artillery in the First Anglo-Sikh War when he fought in the Battle of Ferozeshah on 21–22 December 1845.