Khalifah Sall, mayor of Senegal's capital, along with three other officials, has been charged with embezzling $2.8 million.
Hundreds gathered outside the courthouse in protest and riot police were deployed.
Al Jazeera's Nicolas Haque reports from Dakar.