Ancient Athens consisted of two parts - the upper and lower cities surrounded by walls, and the port city of Piraeus connected to the cities by long walls. Athens was the center of arts, learning, philosophy, and birthplace of democracy in ancient Greece. However, resentment of Athens' power led to the Peloponnesian War between Athens and Sparta-led coalition from 431 to 404 BC, ultimately resulting in Athens' defeat. Later, Athens formed new alliances during conflicts like the Corinthian War and established the Second Athenian League in response to Sparta's imperialist policies. Athenian democracy developed in the 6th century BC where citizens participated, though initially only free adult males constituting 30% of the population