An activist who criticized Morocco’s decision to normalize relations with Israel was sentenced to five years in prison, as some of the Arab world’s largest pro-Palestinian protests continue to sweep the country.

Abdul Rahman Zankad of Mohammedia, Morocco was arrested in March after posting on Facebook about the Israel-Hamas war and Morocco’s 2020 decision to establish diplomatic ties with Israel, the Moroccan Space for Human Rights said in a statement.

A court on Monday found him guilty of insulting a constitutional institution and incitement. He was also fined 50,000 Moroccan dirhams ($5,000). The civil liberty advocacy group, which organizes the legal defense of protesters, called the charges baseless and said the proceedings violated Zankad’s right to a fair trial.

Morocco was one of four Arab nations to establish ties with Israel in 2020, as part of the U.S.-brokered Abraham Accords, which led to both the United States and Israel recognizing Morocco’s claim over the disputed Western Sahara.