Updated

An appeals court in the Egyptian city of Alexandria has acquitted a prominent activist and rights lawyer of charges of taking part in an illegal demonstration.

Mahienour el-Masry was convicted and sentenced to two years in prison last month over participating last year in a protest against the government's transfer of two strategic Red Sea islands to Saudi Arabia.

The 2016 deal between Saudi Arabia and Egypt sparked rare protests in Egypt, which has all but banned demonstrations since late 2013.

El-Masry, 31, is widely known for her activism in labor movements, and on behalf of Syrian and Palestinian refugees living in Egypt. She has been outspoken on the rights of detainees and political prisoners.

The Alexandria court issued its verdict late Saturday.