<Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> The Middle Kingdom of Egypt (also known as The Period of Reunification) is the period in the history of ancient Egypt between circa 2050 BC and 1800 BC, stretching from the reunification of Egypt under the impulse of Mentuhotep II of the Eleventh Dynasty to the end of the Twelfth Dynasty . Some scholars also include the Thirteenth Dynasty of Egypt wholly into this period as well, in which case the Middle Kingdom would finish c. 1650, while others only include it until Merneferre Ay c. 1700 BC, last king of this dynasty to be attested in both Upper and Lower Egypt . During the Middle Kingdom period, Osiris became the most important deity in popular religion . </P> <P> The period comprises two phases, the 11th Dynasty, which ruled from Thebes and the 12th Dynasty onwards which was centered on el - Lisht . </P>

What happened during the middle kingdom in ancient egypt
find me the text answering this question