A Massachusetts woman – the last known state resident to have been legally classified as a witch – who was wrongly convicted of witchcraft and sentenced to death more than three centuries ago has finally been exonerated, according to reports. 

Elizabeth Johnson, Jr., was condemned to death in 1693 – at the height of the Salem Witch Trials – but was never executed. Until last week, she was Massachusetts’ only-known resident who was still legally considered a witch, Courthouse News reported

But that changed on Thursday, when Republican Gov. Charlie Baker signed a budget bill that also exonerated Johnson. 

Last August, state Sen. Diana DiZoglio, a Democrat from Methuen, introduced legislation to clear Johnson’s name, saying at the time that she was inspired by sleuthing done by a group of 13- and 14-year-olds at North Andover Middle School. Civics teacher Carrie LaPierre’s students painstakingly researched Johnson and the steps that would need to be taken to make sure she was formally pardoned.

MASSACHUSETTS MAN ARRESTED AFTER ALLEGEDLY MAKING BOMB THREAT TO ARIZONA ELECTION OFFICIAL: DOJ

A sign at the Salem Witch Trials Exhibit

SALEM, MA - SEPTEMBER 24: The entrance to the Salem With Trials exhibit at The Peabody Essex Museum in Salem, MA on Sept. 24, 2020.  (Photo by Jonathan Wiggs/The Boston Globe via Getty Images)

Twenty people from Salem and neighboring towns were killed and hundreds of others accused during a frenzy of Puritan injustice that began in 1692, stoked by superstition, fear of disease and strangers, scapegoating and petty jealousies. Nineteen were hanged, and one man was crushed to death by rocks.

MASSACHUSETTS POLICE DOG FATALLY SHOT BY MAN BARRICADED IN HIS HOME

An accused witch at the Salem witch trials

George Burroughs (c.1652 –1690) reciting the Lord's Prayer before his execution at Witches Hill, Salem, Massachusetts, on 19 August 1690, after being accused of witchcraft in the Salem witch trials. From The History of Our Country, published 1899. (Photo by: Universal History Archive/Universal Images Group via Getty Images)

In the 328 years since then, dozens of suspects were officially cleared, including Johnson’s own mother, the daughter of a minister whose conviction eventually was reversed. But for some reason, Johnson’s name wasn’t included in various legislative attempts to set the record straight.

SHARK SIGHTINGS IN CAPE COD WATERS BALLOONED AGAIN ON FRIDAY

Johnson was 22 when she was caught up in the hysteria of the witch trials and sentenced to hang. It never happened: Then-Gov. William Phips threw out her punishment as the magnitude of the gross miscarriages of justice in Salem sank in.

The outside of the Salem witch trial museum, a building like a gothic castle

SALEM, MA - SEPTEMBER 24: The Salem Witch Museum, pictured on Sept. 24, 2020, is a popular destination for visitors to Salem, MA. The Halloween season will be very different this year due to the COVID-19 pandemic. (Boston Globe / Contributor via Getty Images)

But because she wasn’t among those whose convictions were formally set aside, hers still technically still stood.

CLICK HERE TO GET THE FOX NEWS APP 

According to Courthouse News, LaPierre and her North Andover students worked to clear Johnson’s name for more than three years. 

The Associated Press contributed to this report.