Original: Personal union with Great Britain from 1707 to 1801 (when they were joined together in the United Kingdom of Great Britain and Ireland).
Simplified: Personal union with the Kingdom of Great Britain from 1707 to 1800 when the two kingdoms were merged into the United Kingdom of Great Britain and Ireland.