The 17th century outlaw, James Macpherson, who was also a violin player, is said to have written this melody just before being sent to the gallows. According to one story, he broke his fiddle before being hanged because none of his gang would play the tune at his funeral.