The nursery rhyme was first published as an original poem by Sarah Josepha Hale on May 24, 1830, and is thought to be inspired by an actual incident.