The Theban–Spartan War of 378–362 BC was a series of military conflicts fought between Sparta and Thebes for hegemony over Greece. Sparta had emerged victorious from the Peloponnesian War against Athens (431–404 BC), and occupied an hegemonic position over Greece. However, the Spartans' violent interventionism upset their former allies, especially Thebes and Corinth. The resulting Corinthian War (395–387 BC) ended with a difficult Spartan victory, but the Boeotian League headed by Thebes was also disbanded.