Nectanebo contended with an unnamed pretender to the throne from the town of Mendes, who proclaimed himself pharaoh.[1] The revolt was probably led by one of the descendants of Nepherites I, whose family had ruled the town before.[15] The claimant sent messengers to Agesilaus in an attempt to persuade Agesilaus to his side.[14] Agesilaus remained loyal to Nectanebo, fearing to become a turncoat. At one of the towns in the Nile Delta, the troops of Nectanebo and Agesilaus were besieged by the usurper, who had gained many sympathisers. Despite the enemy's numerical superiority, Nectanebo and Agesilaus were victorious and the revolt was put down in the fall of 360 BC.[3] Acknowledging Agesilaus, Nectanebo sent him 220 talents of gold.