The origins of the earlier flag of Great Britain date back to 1606. James VI of Scotland had inherited the English and Irish thrones in 1603 as James I, thereby uniting the crowns of England, Scotland, and Ireland in a personal union, although the three kingdoms remained separate states