Heavy security is in place across the city during the festival commemorating the birth of ninth-century Imam al-Mahdi al-Muntadar .