 He was also Member of Parliament for Dumfries Burgh from 1796 to 1800 and for Linlithgowshire from 1800 to 1834.In 1805 he married Georgiana Brown; they had four sons, including George William Hope and James Robert Hope-Scott, father of James Hope, 1st Baron Rankeillour, and one daughter.He is buried with Georgina in Aberlady churchyard.