Sir Thomas accompanied King Charles II during the invasion of England in 1651 which ended in disaster at Worcester. As his lands and residence had been destroyed by Cromwell’s army during the occupation of Scotland after 1651 many original charters were lost. Consequently, the Scots Parliament reissued them including one for the united baronies of Preston and Prestonpans on 4 June 1663. 20 August 1663, King Charles II granted a Crown Charter to Robert Preston of Preston in liferent and his eldest son John Preston, and heirs the above lands now as the free barony of Preston with the town of Preston being created as a free burgh of barony with the right to hold markets. He married three times and by his second wife Anne Hamilton, had two sons William and Robert, both of whom became baronets of Preston in succession. William Hamilton, 1st baronet, born 1647, became a baronet of Nova Scotia in 1673. He took refuge in Holland and later accompanied William of Orange from Holland to England at the Glorious Revolution of 1688 but died in London shortly thereafter. He married Rachel Nicolson and had three daughters. Consequently, the land and titles were succeeded to by his brother Robert. Sir Robert Hamilton of Preston (1650-1701) was a zealous Presbyterian and led the Covenanters at the victory at the Battle of Drumclog and at the failure at Bothwell Bridge in 1679. He then fled to the continent and lived in Holland. He later returned to Scotland where he was arrested and imprisoned in 1692–1693. Sir Robert Hamilton, died 1701, being unmarried conveyed his rights to Thomas Oswald. After the Oswalds the estate was acquired by Lord Grange much of which was eventually bought by Dr James Schaw. Lord and Lady Grange lived at Preston House which was built towards the end of the 16th century for Thomas, son of Sir James Oswald, Lord Provost of Edinburgh and was eventually acquired by Dr James Schaw about 1780 when he acquired the Barony of Preston. Dr. Schaw died in 1784, leaving the barony and the bulk of his estate in support of James Schaw’s Hospital, a school for boys. The successor of the Schaw Bequest was the East Lothian Educational Trust. In the Crown Charter (1830) the Barony is described as: "ALL and WHOLE the Lands and Barony of Preston and Prestonpans with the free Burgh of Barony of