The Ali Qapu Palace is located on the western side of the Square, opposite to Sheikh Lotfollah Mosque. It is forty-eight meters high and has six floors. The Ali Qapu generally is the entrance or supreme gate to the complex of palaces and public buildings of the Safavi Government.