King Nectanebo I, founded the last family in the history of ancient Egypt. He ruled the country and spent most of his reign defending his kingdom against the Persians' attempts to re-invade Egypt supported by Sparta or Athens.
His successor Teos attempted to invade the Levant, which was under Persian occupation. During the reign of his grandson Nakhtenbo II the Persians attempts reoccupy Egypt. In the first ten years of his rule, The Persian emperor Artaxerxes III was busy Consolidation his governance. He was unable to invade Egypt. His first attempt was in the winter of 351-350 BC. But he failed. He prepared his army again and succeeded in invading Egypt. He forced Nakhtenbo to retreat from his defenses in the Delta to Memphis, and later he escaped and disappeared completely. Although Khabash was named a King of Egypt (338-336 BC), but Nakhtenbo II was still considered to be the last Pharaoh of Egypt, and his escape was like the end of independent Egypt.