So the Hyksos defeated the Egyptian soldiers and captured the largest cities of Egypt. They even took over the pharaoh’s palace. From now on, the Hyksos were the rulers of Egypt. This was the end of the Middle Kingdom of Egypt. The Egyptians hated their Hyksos kings.