It is a somber outlaw ballad that was inspired by the story An Occurrence at Owl Creek Bridge by Ambrose Bierce.
* Barrett G. R., Erskine T. L. From Fiction to Film: Ambrose Bierce’s «An Occurrence at Owl Creek Bridge».