The Montgomery baronetcy, of Stanhope in the County of Peebles, was created in the Baronetage of the United Kingdom on 16 July 1801 for the Scottish lawyer and politician James Montgomery. The second Baronet represented Peeblesshire in Parliament. The third Baronet represented both Peebles and Peebles and Selkirk in Parliament. He assumed the additional surname of Graham. The seventh Baronet was Lord-Lieutenant of Kinross-shire. He assumed the surname of Purvis-Russell-Montgomery in 1906 and Purvis-Russell-Hamilton-Montgomery in 1933. The eighth and ninth Baronet have used the surname Montgomery only. The ninth Baronet was Lord-Lieutenant of Perth and Kinross.