sentences:  On 20 October 1604 King James, who had succeeded separately to the two thrones of England and Scotland, proclaimed himself "King of Great Brittaine, France, and Ireland".When James died in 1625 and the Privy Council of England was drafting the proclamation of the new king, Charles I, a Scottish peer, Thomas Erskine, 1st Earl of Kellie, succeeded in insisting that it use the phrase "King of Great Britain", which James had preferred, rather than King of Scotland and England (or vice versa).While that title was also used by some of James's successors, England and Scotland each remained legally separate countries, each with its own parliament, until 1707, when each parliament passed an Act of Union to ratify the Treaty of Union that had been agreed the previous year.