A German antifascist activist, Maja T., was sentenced to seven years in prison by a Hungarian appeals court on Wednesday, concluding a high-profile case that has drawn scrutiny over Hungary’s judicial independence under Prime Minister Péter Magyar’s government.

The nonbinary activist, originally from Thuringia, Germany, was convicted for alleged involvement in attacks on far-right extremists during the 2023 “Day of Honor” march in Budapest, where neo-Nazis commemorate a World War II battle. Maja T. was arrested in Berlin in December 2023 and extradited to Hungary in June 2024, despite a later ruling by Germany’s Federal Constitutional Court that deemed the extradition unlawful due to insufficient review of prison conditions for nonbinary detainees.

The trial, described as a test case for Hungary’s judiciary, saw Maja T. appear in court shackled and chained, smiling at supporters before the verdict was delivered. The sentence, one year less than the original eight-year term, is now final, paving the way for potential transfer back to Germany. Defense lawyers have pushed for repatriation, citing the harsh conditions Maja T. has endured during 2.5 years in Hungarian custody.

The case has reignited concerns about Hungary’s legal system, which faced repeated accusations of political interference under former leader Viktor Orbán. Critics argue the prosecution reflects broader crackdowns on dissent, with Maja T.’s arrest tied to their activism against far-right groups.