Extended data:
Under the rule of Persia, Egypt, Cyprus and Phoenicia were incorporated into the sixth governor's district under the Persian Achemane dynasty. The first reign of Persia, also known as the 27th dynasty, ended in 402 BC. From 380 BC to 343 BC, the last local dynasty, the 30th dynasty, ruled Egypt and ended in Nektanebo II.
In 343 BC, the Persians briefly resumed their rule over Egypt, also known as the 3rd1dynasty. But not long after, in 332 BC, the Persian ruler Mazaks gave Egypt to Alexander the Great.
References:
Ancient Egypt-Baidu Encyclopedia