The Castle of Otranto is a novel by Horace Walpole. First published in 1764, it is generally regarded as the first Gothic novel. In the second edition, Walpole applied the word 'Gothic' to the novel in the subtitle – A Gothic Story. Set in a haunted castle, the novel merged medievalism and terror in a style that has endured ever since. The aesthetic of the book has shaped modern-day Gothic romance/horror books, films, art, music, and the Goth subculture.
Walpole was inspired to write the story after a nightmare he had at his Gothic Revival home, Strawberry Hill House, in Twickenham, southwest London. Claiming he saw a ghost in the nightmare—which featured a "gigantic hand in armour"—Walpole incorporated imagery from this into the novel, and also drew on his knowledge of medieval history.