During a 6th dynasty, the power of the pharaohs diminished and the unity of the country began to disappear. Until an X dynasty and for over a hundred years, there were accidents of pharaohs who could not drive the country.
During the IX and X dynasties, the capital of Egypt was Ihnasia.