It Was A' For Our Rightful King

"It Was A' For Our Rightful King" (or "It was All For Our Rightful King") is a traditional Jacobite song. The words were written by Robert Burns and published in 1796. It is set to an older tune "Mally Stewart". It was included in the 1817 collection Jacobite Relics. Although dating from after the main period of Jacobite activity, it became a standard during the nostalgic Jacobite era of the nineteenth century.

It describes a Scottish supporter of King James taking up arms in support of the cause, going to Ireland to fight and thereafter going into exile after the failure of the campaign in Ireland.