In 1864, George Washington Johnson of Hamilton, Canada published the lyrics to this song. In 1866 James Butterfield set the poem to music.
Flatt & Scruggs recorded an instrumental song called "Maggie Blues" that they registered as their own, but the tune is almost identical to the tune of "When You and I Were Young, Maggie"
I wandered today to the hills Maggie To watch the scene below The creek and the creaking old mill Maggie Where we used to long long ago