The Federal Supreme Court in the United Arab Emirates has acquitted an Omani blogger of charges relating to critical social media posts.

The UAE's official WAM news agency reported on Monday that Muawiya al-Rawahi was found not guilty on charges of establishing and managing social media accounts that disseminated rumors and information that could disturb public order and that intend to ridicule and damage the reputation of the country.

Human rights group Amnesty International says al-Rawahi was arrested Feb. 23, 2015 as he entered the UAE from neighboring Oman and was held in a secret detention facility until May 2015 before being transferred to a prison in Abu Dhabi.

Amnesty says the blogger suffers from bipolar disorder and had previously criticized Omani authorities and spent time in mental health facilities.