Former U.S. Army Intelligence analyst Chelsea Manning said Monday she was denied entry into Canada because of her criminal record, including violations of the U.S. Espionage Act.

Taking to Twitter, Manning posted a photo of a partially redacted Canadian report that said she was “inadmissible on the grounds of serious criminality.” The report said that if she had been convicted in Canada, her crimes “would constitute an offense under an Act of Parliament punishable by a maximum term of imprisonment of at least 10 years.”

“[S]o, i guess Canada has permanently banned me ?,” Manning said in her Twitter post. “[D]enied entry b/c of convictions similar to ‘treason’ offense.”

In 2010, Manning, a transgender woman then known as Bradley, slipped hundreds of thousands of classified U.S. Army and diplomatic documents to WikiLeaks. The cache was the largest leaked stash of classified government documents in the country’s history. Manning later maintained she had released the material out of “a responsibility to the public.”

Three years later, the U.S. government put the analyst on trial. Manning was eventually convicted on 20 counts, including six violations of the Espionage Act. She was sentenced to 35 years in prison. But seven years into her sentence, Manning’s prison term was commuted by President Barack Obama in the final days of his presidency.

Earlier this month, Manning was named a visiting fellow by the Kennedy School’s Institute of Politics at Harvard University. Soon after, CIA Director Mike Pompeo declared Manning “an American traitor” and backed out of a scheduled appearance at the university. After others also protested Manning’s appointment, Harvard withdrew the fellowship invitation, calling it a “mistake.”

The 29-year-old Manning had attempted to enter Canada on Friday at a border crossing at Saint-Bernard-de-Lacolle, Quebec, just north of Champlain, N.Y., Canadian Broadcasting Corp. News reported.

On Twitter, Manning stated she planned to fight the Canadian ruling: “will be challenging denial of entry at a Canadian ‘admissibility hearing’ in the future (no date yet),” she wrote, adding that the law cited by the country was not similar to the U.S. statutes she was convicted under.

A spokesperson for Immigration, Refugees and Citizenship Canada told the news outlet that decisions on entry to the country are “evaluated based on its merits and in a fair manner. All applicants can expect impartial, professional treatment and clear, accountable decision-making.”

More from Morning Mix: