Instructions: In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.
Input: 'The Legend of Sleepy Hollow' is a short story of speculative fiction by American author Washington Irving, contained in his collection of 34 essays and short stories entitled The Sketch Book of Geoffrey Crayon, Gent ... Written while Irving was living abroad in Birmingham, England, 'The Legend of Sleepy Hollow' was first published in 1820. Along with Irving's companion piece 'Rip Van Winkle', 'The Legend of Sleepy Hollow' is among the earliest examples of American fiction with enduring popularity, especially during Halloween because of a character known as the Headless Horseman believed to be a Hessian soldier who lost his head to a cannonball in battle.
Output:
when was the legend of sleepy hollow written