A Quebec woman pleaded guilty Wednesday to mailing then-President Donald Trump ricin, a poison found naturally in castor beans. She had made the ricin in her home more than two years ago.

Pascale Cecile Veronique Ferrier, 55, admitted to sending threatening letters to Trump and several Texas law enforcement officials along with the highly toxic substance, according to a press release Wednesday from the U.S. Attorney's Office for the District of Columbia.

A dual citizen of Canada and France, the release states Ferrier was detained in Texas for about 10 weeks during spring 2019, where she fell under the belief that the law enforcement officials played a role in the time she spent in custody.

The letter sent to Trump told him to "[g]ive up" and drop out of the 2020 presidential race. She sent the letters from Canada and then drove to Buffalo, New York, on Sept. 20, 2020.

Also in 2020, Ferrier tweeted that someone should shoot Trump "in the face."

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

"We hope this resolution will serve as a warning that using our mail system to send a toxic substance and other threats of this type will cost you your freedom for many years."

In the letter sent to Trump, Ferrier referred to him as "The Ugly Tyrant Clown" and wrote: "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."

U.S. Border Patrol officials stopped Ferrier during her September trip across the border, finding her in possession of a loaded firearm, hundreds of rounds of ammunition, and other weapons. She was arrested and has remained in federal custody.

Ferrier pleaded guilty to prohibitions with respect to biological weapons in two separate criminal cases. One originated in the District of Columbia, while the other originated in the Southern District of Texas and was later transferred to the District of Columbia.

Should her plea agreement be accepted, she will be sentenced to 262 months in prison or more than 21 years.

U.S. Attorney Alamdar Hamdani, who leads the Southern District of Texas, expressed his dismay with the intent of Ferrier's actions in a statement released Wednesday.

"This woman did not succeed in her efforts to poison numerous public officials in our district, but her actions still created fear and stress for many of these dedicated public servants," Hamdani said.

Ferrier is scheduled to be sentenced on April 26.