The Pit and the Pendulum is set in Toledo, Spain during the height of the Spanish Inquisition which began in 1478.
In the story, Poe references the Jacobin club, which was an influential political club founded in 1789. There is also reference to General Lasalle (b.1775-d.1809), who was a French general during the Revolutionary and Napoleonic wars.
Poe offers disjointed historical references:
Poe makes no attempt to describe accurately the operations of the Spanish Inquisition, and takes considerable dramatic license with the broader history premised in this story. The rescuers are led by Napoleon's General Lasalle (who was not, however, in command of the French occupation of Toledo) and this places the action during the Peninsular War (1808–14), centuries after the height of the Spanish Inquisition. The elaborate tortures of this story have no historic parallels in the activity of the Spanish Inquisition in any century, let alone the nineteenth when under Charles III and Charles IV only four persons were condemned. The Inquisition was, however, abolished during the period of French intervention (1808–13).
Why does Poe lead readers to believe that the prisoner is being tortured during the height of the Spanish Inquisition when the Jacobin club reference and General Lasalle's rescue would have taken place during the Napoleonic wars, which was no earlier than the 1790s?