William "Willy" Brennan was an Irish Highwayman caught and hanged in County Cork in either 1804 or perhaps 1809 or 1812, whose story was immortalised in the ballad "Brennan on the Moor".
The earliest version of the ballad dates to the middle 19th century, either the 1830s or to 1859, and various versions of the song were extant in Ireland, Great Britain, Canada and the United States in the 19th century. The song's writer is unknown. It has been recorded by Burl Ives, The Clancy Brothers and Tommy Makem, The Kingston Trio, Phillip James, Neil Morris, and The Marshmen.
"Rambling, Gambling Willie," a song by Bob Dylan with a melody derived from "Brennan on the Moor" (which Dylan had first heard performed by his friends, The Clancy Brothers), but with completely different lyrics, was recorded by Dylan in April, 1962 for the album The Freewheelin' Bob Dylan. It was not included on that album, but was finally released in 1991 on The Bootleg Series Volumes 1–3.