A 23-year-old man was convicted Wednesday of illegal gun possession as part of a plan to attack New York’s Jewish community, judicial authorities announced.

Christopher Brown and his alleged accomplice were arrested at Penn Station, New York’s busy transit station, in November 2022. They were accused of plotting an attack on a synagogue in Manhattan.

Christopher Brown pleaded guilty to a charge of possession of a weapon with the intent to commit an act of terrorism, said District Attorney Alvin Bragg. His sentence, 10 years in prison, will be handed down on November 13, he explained in the press release he published.

The proceedings against his alleged accomplice are still ongoing, prosecutor Bragg added.

Police said they found a knife, a swastika armband and a ski hood in Christopher Brown’s backpack. A gun and 19 bullets were also found and seized in the apartment of his alleged accomplice.

In recent years there have been attacks against synagogues in the US.

In 2018, 11 people were murdered at a synagogue in Pennsylvania by a far-right extremist, amid rising anti-Semitic violence and concern over the resurgence of neo-Nazi and white supremacist groups.

The perpetrator of this attack, the deadliest against Jews in US history, was sentenced to death in 2023.