Judge Saqr Saqr decided on Tuesday to release Shadi al-Mawlawi after over a week in custody.
Islamist al-Mawlawi will be released on bail of L.L. 500,000 after a hearing that was held on Tuesday, reported LBC television.
A request for his release had been submitted last week, but it was rejected in order to carry out more investigations.
He had been arrested in the northern city of Tripoli on May 12 on charges of belonging to a terrorist group.
The development sparked clashes between the rival neighborhoods of Bab al-Tabbaneh and Jabal Mohsen, which left some ten people dead and at least 70 wounded.
The news of his release was met with celebratory fireworks by his supporters in Tripoli’s al-Nour Square.
Concerned security sources voiced fears over the “politicization of his case,” adding that his file is full of “baseless” claims as stated by various MPs and al-Mawlawi’s family, reported An Nahar daily on Tuesday.
As Safir newspaper reported on Tuesday that al-Mawlawi had confessed to possessing an al-Qaida code that proves his affiliation with the organization, a claim that his family has denied.