 He was born on 22 February 1793 the son of William Pagan.The family moved to Edinburgh around 1800, to live at 13 York Place in the New Town  He originally trained as a soldier beginning as an Ensign in 1811 and rising to Lieutenant.In 1815 he was wounded at the Battle of Waterloo.