He was born at Newbyth House in Haddingtonshire, Scotland, the son of an Edinburgh merchant family, and entered the British Army in 1772.
Ia lahir di Newbyth House, Haddingtonshire, Skotlandia, sebagai putra dari keluarga pedagang Edinburgh, dan masuk Angkatan Darat Britania pada 1772.