In 332 BC, Alexander the Great, King of Macedon, invaded Egypt, which at the time was a satrapy of the Achaemenid Empire known as the Thirty-first Dynasty under Emperor Artaxerxes III.