James IV (1473 - 1513). King of Scotland from 1488 to his death in 1513. He is regarded as the most successful of the Stewart monarchs. He was last monarch of Scotland to be killed in battle. He died in the Battle of Flodden Field when he tried to invade England. He married Margaret Tudor and had four sons.