 A "mescit" (small mosque) and a fountain were built in the middle of the fort's inner courtyard, which also contained the houses of the garrison, forming a separate city quarter.The houses were torn down in the 19th century, and a girls' school was built in their place.The outer gate was re-opened in 1838, and the fort's towers functioned as gunpowder magazines for a while thereafter, until the whole facility was turned over to become a museum in 1895.