In 351 BC, Artaxerxes III prepared to launch another invasion into Egypt. At the same time a rebellion had broken out in Asia Minor, which, being supported by Thebes, threatened to become serious.[8] Levying a vast army, Artaxerxes marched into Egypt, and engaged Nectanebo II. After a year of fighting the Egyptian Pharaoh, Nectanebo inflicted a crushing defeat on the Persians with the support of mercenaries led by the Greek generals Diophantus and Lamius.[9] Artaxerxes was compelled to retreat and postpone his plans to reconquer Egypt.