 It was in the later medieval era that the borders of Scotland reached approximately their modern extent. The Isle of Man fell under English control in the 14th century, despite several attempts to restore Scottish authority. The English were able to annexe a large slice of the lowlands under Edward III, but these losses were gradually regained, particularly while England was preoccupied with the Wars of the Roses (1455 – 85). In 1468 the last great acquisition of Scottish territory occurred when James III married Margaret of Denmark, receiving the Orkney Islands and the Shetland Islands in payment of her dowry. However, in 1482 Berwick, a border fortress and the largest port in medieval Scotland, fell to the English once again, for what was to be the final change of hands.
