How did Sparta defeat Athens in the Peloponnesian War?

Sparta allied with the Persians in order to defeat the Athenians.

Sparta built a strong navy that challenged the Athenians and blockaded Athens.

Sparta released a deadly plague that killed a quarter of the population of Athens.

Sparta admitted nearby city-states to the Delian League, surrounding Athens with enemies.