A Canadian woman pleaded guilty Wednesday to mailing a threatening letter containing the poison ricin to then-President Donald Trump at the White House.

The letter from Pascale Ferrier directing Trump to "give up and remove your application for this election," was intercepted at a mail sorting facility in September 2020, before it could reach the White House.

The 55-year-old Quebec woman also pleaded guilty to sending similar threatening letters to Texas law enforcement officials. She is expected to be sentenced to 262 months in prison, just short of 22 years, under the terms of a plea deal with prosecutors. A sentencing hearing is set for April.

WOMAN SUSPECTED OF SENDING RICIN TO WHITE HOUSE ARRESTED NEAR CANADA BORDER

"There is no place for political violence in our country, and no excuse for threatening public officials or endangering our public servants," the U.S. attorney in Washington, Matthew Graves, said in a statement.

Pascale Ferrier

Canadian national Pascale Ferrier pleaded guilty to charges alleging she mailed ricin to the White House in 2020. (Hidalgo County (Texas) Sheriff's Office, via AP File)

Prosecutors said Ferrier made the ricin, a potentially deadly poison derived from processing castor beans, then mailed it to Trump with a letter that referred to him as "The Ugly Tyrant Clown" and read in part: "If it doesn’t work, I’ll find better recipe for another poison, or I might use my gun when I’ll be able to come. Enjoy! FREE REBEL SPIRIT."

CANADIAN WOMAN SUSPECTED OF SENDING WHITE HOUSE A RICIN PACKAGE PLEADS NOT GUILTY

She was arrested trying to enter a border crossing in Buffalo, New York, carrying a gun, a knife and hundreds of rounds of ammunition, authorities said. Her lawyers did not immediately respond to a message seeking comment on the plea.

The investigation also turned up eight letters to Texas officials affiliated with facilities where Ferrier had been jailed in 2019. The notes created "fear and stress," even though they didn’t succeed in poisoning their targets, said Alamdar Hamdani, the U.S. attorney for the southern district of Texas.

Ferrier pleaded guilty to violating biological weapons prohibitions in two separate criminal cases filed in Washington and Texas.

CLICK HERE TO GET THE FOX NEWS APP

Ferrier immigrated to Canada from France and is a dual citizen of the two countries.