Two years, Martin, between his hanging and the signing of the Treaty. I would have thought, considering the outrage at the time, that the song was written fairly quickly after his death. The identity of the writer is unknown although theire is a suggestion it emanated from Scotland.