After years of court battles, a trial, prison time and numerous, large gatherings of activists outside Detroit's federal courthouse, the case of a naturalized U.S. citizen who failed to disclose terrorism convictions to immigration authorities is coming to a close.

Rasmea Odeh, a Chicago-area Palestinian activist, was convicted of unlawful procurement of naturalization in November 2014 and sentenced to 18 months in prison.

But the verdict was overturned after she she spent five weeks behind bars, and she was released on bond pending a new trial.

Now, she appears to have secured her freedom, but not in the U.S.

Odeh entered a guilty plea Tuesday as part of an agreement with federal prosecutors that calls for deportation without further imprisonment.

Israeli authorities in 1970 convicted Odeh of participating in two terrorist bombings conducted by the Popular Front for the Liberation of Palestine, one at a supermarket in Israel that killed two people and another at the British Consulate that wounded "many more," according to the U.S. Attorney's Office.

Odeh maintains she was raped and tortured into confessing to the terrorist acts, and now says she was not involved.

She was convicted in 1970 and sentenced to life in prison in Israel, but was released as part of a prisoner swap in 1979.

She emigrated from Jordan to the U.S. via Detroit in 1994, but neglected to mention her prior terrorism convictions on her immigration paperwork.

Odeh has lived in the U.S. for 22 years and became a citizen in 2004, eventually becoming a prominent figure in an Illinois social services organization.

At her plea hearing in Detroit federal court Tuesday, Odeh refused utter the word "guilty," but confirmed she signed the plea agreement admitting she covered up her 1970 bombing convictions, the Associated Press reports.

U.S. District Judge Gershwin Drain entered the guilty plea and set an Aug. 17 sentencing hearing, according to court records.

In her signed plea agreement, Odeh admitted she knew her statements were false. She previously provided multiple explanations for the error. First, that it was an accidental omission and later that it was an omission resulting from post-traumatic stress disorder.

The maximum sentence for the crime is 10 years prison.

If the judge issues a sentence in accordance with the reccomendations of the plea agreement, Odeh would be returned to Jordan and banned from future entry into the U.S.

"The United States will never be a safe haven for individuals seeking to distance themselves from their pasts," said Detroit Special Agent in Charge for U.S. Homeland Security Investigations Steve Francis in a news release. "When individuals lie on immigration documents, the system is severely undermined and the security of our nation is put at risk."