The mosque was built in 1303 by al-Hasan bin Balaban (also known as the son of the mahmandar), one of the high-ranked officers in the city of Aleppo. The word mahmandar itself is derived from the Persian words of mahman meaning the guset and dar meaning the officer. It was built in Mamluk and later in Mongol style. The mosque was severely damaged during the 1822 earthquake.[1]