The mosque closed in 1929 and its minaret was dismantled. The building housed homes and offices for decades; in the 1990s it was returned to worshippers and the minaret was rebuilt.