By this time, Thebes had also started attacking Phocian "poleis" allied to Sparta. Pelopidas is again mentioned as the commander of the abortive Theban siege of the Phocian city of Elateia (c. 372 BC). In response to the Theban army outside the city's walls, the Phocian general Onomarchus brought out all the inhabitants of the city (including the elderly, women, and children) and locked the gates. He then placed the non-combatants directly behind the defenders of Elateia. On seeing this, Pelopidas withdrew his forces, recognizing that the Phocians would fight to the death to protect their loved ones.