How did the Dark Ages end in Greece?

From farmlands with a central citadel as refuge, cities developed from the 7th Century onwards, with a range of physical, religious and cultural amenities based on a walled city with increasing amenities and prosperity. Civilisation progressively replaced the Dark Age of survival in a hostile environment.