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 . It had grown in importance because of threats to the coastal cities Paphos and Salamis , which made many people flee to the centrally located Lefkosia .