<Tr> <Td> Thirtieth Dynasty of Egypt </Td> <Td> 380--343 BC </Td> </Tr> <Tr> <Td> Achaemenid Egypt </Td> <Td> 343--332 BC </Td> </Tr> <Tr> <Td> Macedonian and Ptolemaic Egypt </Td> <Td> 332--30 BC </Td> </Tr> <Tr> <Td> Roman and Byzantine Egypt </Td> <Td> 30 BC--641 AD </Td> </Tr>

Who ruled egypt during the second intermediate period