It was also known (perhaps at an earlier period before the Almohad construction) as "Bab ash-Shari'a" (meaning roughly "Gate of Justice/Law"), but became known as "Bab Mahruq" ("Gate of the Burnt") after the body of a Wazzani rebel called al-'Ubaydi was burnt here in 1203-04 (600 AH).