Passage: The site had been occupied by the village of Kastri since medieval times. Before a systematic excavation of the site could be undertaken, the village had to be relocated but the residents resisted. The opportunity to relocate the village occurred when it was substantially damaged by an earthquake, with villagers offered a completely new village in exchange for the old site. In 1893 the French Archaeological School removed vast quantities of soil from numerous landslides to reveal both the major buildings and structures of the sanctuary of Apollo and of Athena Pronoia along with thousands of objects, inscriptions and sculptures.The site is now an archaeological one, and a very popular tourist destination. It is easily accessible from Athens as a day trip, and is often combined with the winter sports facilities available on Mount Parnassus, as well as the beaches and summer sports facilities of the nearby coast of Phocis.

Question: How long has the village of Kastri been occupied?
since medieval times