With substantial Athenian detachments tied down in Egypt and Aegina, Corinth invaded the Megarid, attempting to force the Athenians to withdraw their forces from Aegina to meet this new threat. Instead, the Athenians scraped together a force of men too old and boys too young for ordinary military service and sent this force, under the command of Myronides, to relieve Megara. The resulting battle was indecisive, but the Athenians held the field at the end of the day and were thus able to set up a trophy of victory. About twelve days later the Corinthians attempted to return to the site to set up a trophy of their own, but the Athenians issued forth from Megara and routed them; during the retreat after the battle a large section of the Corinthian army blundered into a ditch-ringed enclosure on a farm, where they were trapped and massacred.