After the Ottoman conquest of the city, Anadoluhisarı served as a customs house and military prison, and after several centuries, fell into disrepair.