CAIRO — A court in Alexandria has sentenced activist Mahienour Al Massry to two years in prison on charges of illegally protesting against the Egyptian government’s decision to transfer two Red Sea islands to Saudi Arabia, judicial sources said Saturday.

The court tried four other people in absentia and handed them four-year sentences on the same charges, the sources said.

Al Massry was detained in Egypt’s second largest city along with activist Moatasim Medhat at a court hearing in November, ahead of the ruling.

She can appeal against the sentence.

The plan to cede the islands to Saudi Arabia was announced last year and has become mired in legal action.

Saudi and Egyptian officials say the islands belong to the kingdom and were only under Egyptian control because Riyadh had asked Cairo to protect them in 1950.

— Reuters