KHARTOUM, Sudan — Sudan’s deposed dictator, Omar Hassan al-Bashir, was taken from a prison in the capital Khartoum to face corruption charges on Sunday in his first public appearance since he was ousted from power in April.

Appearing in a white robe and turban, as he did for much of his 30 years in power, Mr. al-Bashir was led through the gates of Kober prison, a notorious facility where he once sent his own enemies.

His appearance quelled months of speculation among many Sudanese who suspected that, contrary to assertions by the country’s military leaders, Mr. al-Bashir was being quietly detained in luxury or had even managed to flee the country.

Security officials escorted Mr. al-Bashir, 75, to a vehicle that took him to the chief prosecutor’s office, where he was formally charged with corruption and money laundering. He did not speak to reporters waiting outside the jail.