AP —

A Turkish court on Thursday issued a ruling that effectively removed the head of the country’s main opposition party by annulling a 2023 congress that elected him.

The move deals a serious blow to the beleaguered Republican People’s Party, or CHP, as it struggles under waves of legal cases targeting its members and elected officials.

An appeals court in Turkey’s capital Ankara declared the CHP congress that picked Ozgur Ozel as chairman to be null, ordering that he should be replaced by his predecessor, Kemal Kilicdaroglu.

Last year, a lower court ruled against claims of irregularities and misconduct surrounding Ozel’s election but Thursday’s decision overturned the original verdict.