England and Scotland had been at war, off and on, for centuries. In an attempt to make peace, in 1503 the king of Scotland, James IV, married Margaret Tudor, the oldest daughter of the king of England, Henry the VII. This merged the royal Stuart family of Scotland with the Tudors of England.