Edgar Allan Poe (1809–1849) was an American poet, short story writer, editor, and literary critic who is credited with inventing the detective fiction genre and with contributing to the emerging science fiction genre.