The Peloponnesian War was a war fought in ancient Greece between Athens and Sparta—the two most powerful city-states in ancient Greece at the time (431 to 405 B.C.E.). This war shifted power from Athens to Sparta, making Sparta the most powerful city-state in the region.