During the Middle Kingdom, Egypt once again flourished, as it had during the Old Kingdom.
After the last ruler of the 11th dynasty, Mentuhotep IV, was assassinated, the throne passed to his vizier, or chief minister, who became King Amenemhet I, founder of dynasty 12. A new capital was established at It-towy, south of Memphis, while Thebes remained a great religious center. During the Middle Kingdom, Egypt once again flourished, as it had during the Old Kingdom. The 12th dynasty kings ensured the smooth succession of their line by making each successor co-regent, a custom that began with Amenemhet I.