The sixth and last king of Egypt in the 2nd Dynasty (c 2775-2650 BC) who ended the internal struggles of the mid-2nd dynasty and reunited the country. He was the last Abydene/Abydos ruler. Probably starting from a base at Hierakonpolis, Khasekhemwy extended his control over the whole kingdom. His monuments refer to his unification of Upper and Lower Egypt and other inscriptions suggest that he raided Nubia and his name has been found in Lebanon, probably indicating trade with the Syrians. Annals of the Old Kingdom record great technological advances that were made during his last six years. Khasekhemwy was an ancestor of the 3rd-dynasty king, Djoser.