With 23400 meters square , it was the second largest mosque in the world on the surface, after Al-Haram Mosque in Mecca, only later replaced in this respect by the Sultan Ahmed Mosque, Istanbul in 1588.