By way of background: In 404 BC, the Athenians had been crushed by Spartans at the decisive naval Battle of Aegospotami, and subsequently, the Spartans laid siege to Athens. They replaced the democratic government with a new, pro-oligarchic government, named the Thirty Tyrants. Because of their tyrannical measures, some Athenians organized to overthrow the Tyrants—and, indeed, they managed to do so briefly—until a Spartan request for aid from the Thirty arrived and a compromise was sought. When the Spartans left again, however, democrats seized the opportunity to kill the oligarchs and reclaim the government of Athens. It was under this politically tense climate in 399 BC that Socrates was charged.