He added many important features, such as city gates and a masonry fort, built in 1037–1040 on the ruins of the previous one,[1] which had been demolished in the fighting (as recorded by Munshi Sujan Rae Bhandari, author of the Khulasatut Tawarikh in 1695–96). The present Lahore Fort stands on the same location. Under Ayaz's rule, the city became a cultural and academic center, renowned for poetry.[2] The tomb of Malik Ayaz can still be seen in the Rang Mahal commercial area of town.[3]