On May 1, 1707, two separate acts of Parliament — one passed by Scotland, one by England — implemented the Treaty of Union signed on July 22, 1706, merging the Kingdom of England and the Kingdom of Scotland into the Kingdom of Great Britain under Queen Anne. The two countries had shared a monarch since the Union of the Crowns in 1603 but maintained separate parliaments. Under the merged Parliament at Westminster, Scotland received 45 seats in the Commons and 16 in the Lords.