From Sarah Josepha Hale's 1830 poem. In 1877 Thomas Edison recited it as the first words recorded on his phonograph.