The huge square gates that flank it are more akin to Crusader structures since their primary function was to protect the city.
The original function of the square gates was to protect the city.