About James IV of Scotland
James IV (17 March 1473 – 9 September 1513) was King of Scotland from 11 June 1488 until his death at the Battle of Flodden in 1513. He was responsible for a major expansion of the Scottish royal navy, which included the founding of two royal dockyards and the acquisition or construction of 38 ships, including Great Michael, the largest warship of her time. James was a patron of the arts and took an active interest in the law, literature and science. The Education Act 1496 passed by the Parliament of Scotland introduced compulsory schooling. During James's twenty-five-year reign, royal income doubled, the Crown exercised firm control over the Scottish church, and by 1493 had overcome the last independent Lord of the Isles. Relations with England improved with the Treaty of Perpetual Peace in 1502 and James's marriage to Margaret Tudor in 1503, which led to the Union of the Crowns in 1603. The long period of domestic peace after 1497 allowed James to focus more on foreign policy, which included the sending of several of his warships to aid his uncle, Hans of Denmark, in his conflict with Sweden; amicable relations with the Pope, Holy Roman Emperor Maximilian I and Louis XII of France; and James's aspiration to lead a European naval crusade against the Ottoman Empire. James was granted the title of Protector and Defender of the Christian Faith in 1507 by Pope Julius II. When Henry VIII of England invaded France in 1513 as part of the Holy League, James chose the Auld Alliance with the French over the "Perpetual Peace" with the English and led a large army across the border into England. James and many of his nobles were killed at the Battle of Flodden on 9 September 1513, fighting against the English forces of Catherine of Aragon, Henry VIII's wife and regent. James was the last monarch in Great Britain to be killed in battle and was succeeded by his son James V. The surviving exchequer records show that Prince James was taken from Stirling to visit Edinburgh in the summers of 1474 and 1479, and that his nurse in the 1470s was Agnes Turing, the wife of an Edinburgh burgess.
Biography source: Wikipedia. The profile adds birthday-specific historical context from the Celebs Birthday Today editorial database.