The Postmaster General for Scotland, based in Edinburgh, was responsible for the postal service in the Kingdom of Scotland from approximately 1616 until the Act of Union unified Scotland and England in 1707, creating a new state called the Kingdom of Great Britain. From 1711, the posts in Scotland were the responsibility of the Deputy Postmaster General for Scotland, until in 1831, that position was subsumed into the duties of the Postmaster General of the United Kingdom.