The decline of the European witch trial epidemic was gradual and uneven, stretching from the mid-17th century to the late 18th century. Several factors contributed to the end of prosecution. The devastating Thirty Years' War (1618-1648) left Central Europe exhausted and depopulated, reducing the social pressure that drove accusations. Enlightenment philosophy challenged the intellectual foundations of witch belief — thinkers like Balthasar Bekker, Christian Thomasius, and eventually Voltaire argued that witchcraft was impossible or that confessions obtained through torture were worthless. Legal reforms raised evidentiary standards and restricted or eliminated the use of torture. Perhaps most importantly, the cascading nature of witch trials — in which accusations spiraled upward through social hierarchies until they threatened the powerful — created a self-correcting mechanism, as elites recognized the danger and moved to curtail prosecution. The last official execution for witchcraft in Europe is generally cited as that of Anna Göldi in Glarus, Switzerland, in 1782, though sporadic unofficial killings of suspected witches continued into the 19th century in some rural areas.
