But its greatness was linked to its fine natural harbour , and when this silted up in the third century a.d. the city went into decline .
The city 's greatest strength was its position on top of a hill , which made it difficult to attack .