<Tr> <Td> Second Intermediate Period of Egypt </Td> <Td> </Td> </Tr> <Tr> <Td_colspan="2"> Today part of </Td> <Td> Egypt </Td> </Tr> <Table> <Tr> <Th> Part of a series on the </Th> </Tr> <Tr> <Th> History of Egypt </Th> </Tr> <Tr> <Td> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Td> Prehistoric Egypt </Td> <Td> pre--3100 BC </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Th_colspan="2"> Ancient Egypt </Th> </Tr> <Tr> <Td> Early Dynastic Period </Td> <Td> 3100--2686 BC </Td> </Tr> <Tr> <Td> Old Kingdom </Td> <Td> 2686--2181 BC </Td> </Tr> <Tr> <Td> 1st Intermediate Period </Td> <Td> 2181--2055 BC </Td> </Tr> <Tr> <Td> Middle Kingdom </Td> <Td> 2055--1650 BC </Td> </Tr> <Tr> <Td> 2nd Intermediate Period </Td> <Td> 1650--1550 BC </Td> </Tr> <Tr> <Td> New Kingdom </Td> <Td> 1550--1069 BC </Td> </Tr> <Tr> <Td> 3rd Intermediate Period </Td> <Td> 1069--664 BC </Td> </Tr> <Tr> <Td> Late Period </Td> <Td> 664--332 BC </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Th_colspan="2"> Classical antiquity </Th> </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> <Tr> <Td> Sasanian Egypt </Td> <Td> 619--629 </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Th_colspan="2"> Middle Ages </Th> </Tr> <Tr> <Td> Islamic Egypt </Td> <Td> 641--969 </Td> </Tr> <Tr> <Td> Fatimid Egypt </Td> <Td> 969--1171 </Td> </Tr> <Tr> <Td> Ayyubid Egypt </Td> <Td> 1171--1250 </Td> </Tr> <Tr> <Td> Mamluk Egypt </Td> <Td> 1250--1517 </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Th_colspan="2"> Early modern </Th> </Tr> <Tr> <Td> Ottoman Egypt </Td> <Td> 1517--1867 </Td> </Tr> <Tr> <Td> French occupation </Td> <Td> 1798--1801 </Td> </Tr> <Tr> <Td> Egypt under Muhammad Ali </Td> <Td> 1805--1882 </Td> </Tr> <Tr> <Td> Khedivate of Egypt </Td> <Td> 1867--1914 </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> <Table> <Tr> <Th_colspan="2"> Modern Egypt </Th> </Tr> <Tr> <Td> British occupation </Td> <Td> 1882--1922 </Td> </Tr> <Tr> <Td> Sultanate of Egypt </Td> <Td> 1914--1922 </Td> </Tr> <Tr> <Td> Kingdom of Egypt </Td> <Td> 1922--1953 </Td> </Tr> <Tr> <Td> Republic </Td> <Td> 1953--present </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td> Egypt portal </Td> </Tr> <Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th> Part of a series on the </Th> </Tr>

When did the old kingdom and the middle kingdom began in egypt
find me the text answering this question