The Battle of Flodden Field was fought under James IV of Scotland on 9th September 1513. The words of the poem have been attributed to Lady Nairne, but were actually written by Jane {Jean} Elliot. I don't know who wrote the tune, but it certainly sends a shiver down my spine, when played on the pipes.
Giok