Sudanese authorities released opposition leader Sadiq al-Mahdi on Sunday, Sudan's State Minister of Information Yasser Youssef told Reuters.
Al-Mahdi, who was arrested in mid-May, was accused of undermining the constitution, a charge that could have led to the death penalty, after he said the government had committed violence against civilians in the Darfur region.
Youssef said the release of al-Mahdi occurred within a “legal framework” but did not give further details.
Al-Mahdi, a former prime minister in Sudan's last elected civilian government, is the head of the Umma Party, the most prominent party opposing President Omar Hassan al-Bashir, who ousted him in 1989.
His daughter Rabah confirmed the news of her father's release. His family is expected to issue a statement shortly with more details.
Al-Mahdi's arrest prompted weekly protests by his supporters. His Umma party canceled national dialog talks called by Bashir earlier this year that were meant to ease political tensions - especially over the handling of Darfur - ahead of parliamentary and presidential polls due next year.
Sudan earlier this month arrested the head of the Congress Party, another opposition group, after he too criticized violent practices by security forces in Darfur.