During the reign of Khosrow I the fortress was built. There are also various Middle Persian (Pahlavi) inscriptions on the walls of the fortress and Northern/Southern walls inside the city. After the Arab conquest of Persia various Arabic inscriptions were also make on the walls.