The Pit and the Pendulum is a short story by Edgar Allan Poe, first published in 1842. Set during the time of the Spanish Inquisition, the story follows an unnamed narrator who is sentenced to death and imprisoned. He finds himself in a dark, dungeon-like cell and becomes aware of several terrifying methods of execution designed to torture and mentally break him. Initially, he narrowly avoids falling into a deep pit in the center of the cell, symbolizing a sudden and unknown death.
Later, the narrator is strapped down while a sharp, swinging pendulum slowly descends toward him, threatening to slice him in half. Using rats and his own ingenuity, he manages to escape just in time, only to face another horror—walls of the dungeon begin closing in to push him into the pit. Just as all hope seems lost, he is dramatically rescued by General Lasalle and the French army, who have taken the city. Poe masterfully builds suspense and fear in this story, using vivid imagery and the theme of psychological terror to explore the human instinct for survival.