Kashan Bazaar is located at the heart of the city. The bazaar, which was built during the Seljuq era in the 10th century, was renovated in 16th century when the Safavids came to power. The bazaar was once devastated by earthquake but a new bazaar was built on the ruins of the old one. The historical bazaar complex has three caravanserais (Mir panj, Zoghali and New) as well as a few mosques, public bathes and water reservoirs. Magnificent lightwells are a unique feature of this ancient bazaar, which is still in use today.