During the 17th Dynasty, Kamose, Ahmose, and Seqenenre Tao waged a very strong war against the Hyksos and they managed to expel Khamudy from Egypt who was their last king in 1550 BC. Kamose was killed in the battle but his brother, Ahmose was the one who drives the Hyksos out of Egypt.