James IV ( 17 March 1473 -- 9 September 1513 ) was the King of Scots from 11 June 1488 to his death .
James IV ( 17 March 1473 -- 9 September 1513 ) was King of Scotland from 1488 through 1513 .