In the later Middle Ages, the kings of England were also the kings of Ireland. However, the two kingdoms were separate, even though they had the same king. In 1603, the two kingdoms in Great Britain (Scotland and England) also started to share the same king. In 1604, James VI and I was the first king to be named "King of Great Britain". He was the king of Scotland when England's queen, Elizabeth I, died. From Elizabeth, James inherited the kingdoms of England and Ireland, whereby Great Britain (and the British Isles started) to share one king. People started to use the Union Jack flag in the time of King James, who had ordered ships to use it in 1607. The flag joined the flag of Scotland and the flag of England together in one flag. However, the three kingdoms were separate. 