Following the end of the Peloponnesian War, various poleis of Greece vied for power -- especially Sparta, Athens, and Thebes. The Corinthian War was fought between 395 and 386 B.C. by Sparta leading the Peloponnesian forces on the one side and an alliance of Thebes and Corinth, former allies of Sparta, Athens, and Argos on the other. Persia helped with fleet-building, on the Athenian side, at first, and then, when Athens gained power, Persia switched sides.
Sparta defeated the coalition at the Battle of Nemea in 394. Afterwards, fighting centered around Corinthian territory, for which reason the war is called the Corinthian War. Athens won a sea battle at Cnidus in 394, under Conon. The Persians then helped the Spartans, with the collapse of the coalition, loss of the Athenian empire, and increased power for Sparta, as results.
In the 370s there was frequent fighting with Thebes in the ascendant. Thebes defeated Sparta at Leuctra, in 371. Then in 370, Thebes marched on the Peloponnese under General Epaminondas. Thebes was doing well, but its very success meant it had more territory to control than it was capable of. Ultimately. Athens allied with Sparta to defeat Thebes.
Source: John Lazenby "Greek city-state wars" The Oxford Companion to Military History. Ed. Richard Holmes. Oxford University Press, 2001.

