James IV (Scotland). (1472-1513) came to the throne on the death of his father, James III. His relations with England were very hostile during his early years. In 1502, however, a temporary alliance was formed between the two countries by the marriage of James IV. to Margaret Tudor. The depredations of English pirates and the traditional influence of France, however, brought about the old state of things in a few years, and the result was the expedition which ended in the disaster of Flodden Field (q.v.), where the king of Scotland fell.