The mayor of Salem lashed out at Donald Trump, telling him to "learn some history" after the U.S. president compared the impeachment process against him to the 17th-century Salem witch trials in Massachusetts.

»RELATED: 5 killed in Salem witch hunt remembered on 325th anniversary

In a seething six-page letter to Speaker of the House Nancy Pelosi on Tuesday, Trump blasted the impeachment process as a "hoax," saying that "more due process was afforded to those accused in the Salem Witch Trials."

Trump's reference to the 1692 witch hunt in the then-colony of Massachusetts prompted an equally scathing response from Salem's mayor, Kim Driscoll.

"Learn some history," Driscoll wrote on Twitter. The witch hunt trials were conducted with the "absence of evidence" in which "innocent victims were hanged or pressed to death," she said.

Salem State University history professor Emerson Baker walks through an area that he and a team of researchers said is the  site where 19 innocent people were hanged during the 1692 witch trials in Salem, Mass.

Credit: Ken Yuszkus

icon to expand image

Credit: Ken Yuszkus

The mass hysteria that gripped the community of Salem in 1692 led to scores of people being jailed for witchcraft.

»MORE: Four women were tried as witches 100 years after Salem

Nineteen people were hanged and their bodies tossed into a shallow grave, while an elderly man who refused to plead was crushed to death under stones.

Rebecca Nurse was one of five women hanged as witches 325 years ago at Proctor's Ledge during the Salem witch trials.

Credit: Stephan Savoia

icon to expand image

Credit: Stephan Savoia

“This situation is much different than the plight of the witch trial victims," Driscoll wrote. "A dubious legal process that bears no relation to televised impeachment."

Driscoll added there was "ample evidence" in the impeachment case against Trump in which she said the "perpetrators are among the most powerful+privileged."

She then tweeted a link to a book on the history of the Salem witch trials, suggesting that Trump add it to his "holiday shopping list."

U.S. lawmakers convened Wednesday to approve two articles of impeachment against Trump.

»MORE: Home of Salem witch trial victim John Proctor is for sale

Democrats accuse the president of abusing his office by soliciting Ukraine to dig up dirt on his political rival Joe Biden and withholding military aid as a means to achieve that goal. He is also alleged to have obstructed Congress' investigation of the affair.