the city became the island's capital around the 10th century. it had grown in importance because of threats to the coastal cities paphos and salamis. these threats made many people leave the coast of the island and move to lefkosia in the center of the island.