The Salem witch trials are usually dated as ending in May 1693.
The crisis began in early 1692 in Salem Village, now Danvers, Massachusetts, after accusations of witchcraft spread from the household of Samuel Parris. Courts eventually handled cases from communities well beyond Salem, including Andover and Topsfield. Nineteen people were hanged, while Giles Corey died under pressing after refusing to enter a plea.
The trials did not stop immediately after the last executions in September 1692. Governor William Phips had halted the Court of Oyer and Terminer, but a replacement Superior Court of Judicature continued hearing cases in 1693. In May, it dismissed or acquitted the remaining defendants, conventionally marking the end of the trials.
A common mix-up is treating 1692 as the complete period. Most executions occurred that year, but the legal proceedings continued into May 1693. Public debate, imprisonment, pardons, compensation efforts, and later exonerations continued for decades afterward.