 He was born at the family mansion of Beechwood House near Corstorphine in western Edinburgh on 28 August 1803.In 1824 he acquired Henry Dundas's estate of Dunira in Perthshire.On his father's death in 1835 David became the 2nd Baronet.