A Windsor man has been released from custody in the United Arab Emirates.

Salim Alaradi was imprisoned in the UAE for nearly two years and was still being detained after he was acquitted of all charges on Monday.

His family confirmed his release Tuesday afternoon in an email to CTV News.

Alaradi had originally been on trial for terrorism charges, which were abruptly dropped in March and replaced with two lesser offences.

His acquittal on Monday was on charges of allegedly providing supplies to groups in a foreign country without permission of the U.A.E. government and collecting donations without the government's permission.

Alaradi immigrated to Canada in 1998 from the U.A.E. but returned there in 2007 to run a home appliance business. He was on vacation with his family in Dubai when he was suddenly arrested in August 2014.

Alaradi was among 10 men of Libyan origin detained around the same time -- some of them have since been released.

With files from The Canadian Press.