Original sentence: , Berber) from Cyrenaica, since they were often mentioned together with other groups explicitely identified as being from Libya.During the 19th and 20th Dynasties the Meshwesh were in almost constant conflict with the Egyptian state, leading to the Third Intermediate Period.For the remainder of the 18th Dynasty, information about Meshwesh or Libyans is sketchy.Many Egyptologists identify the pharaohs from the 21st dynasty, since king Osorkon the Elder, until the 23rd dynasty as being descended from Meshwesh immigrants, although there are rival theories, such as those positing a Nubian origin for these rulers.Many Egyptologists identify them as Libyans (i.The Meshwesh were an ancient tribe, who formed part of the confederation known as the Sea Peoples.The reign of these rulers was broken when the Napatan 25th Dynasty invaded.There are, however, representations of Libyans from the reign of Akhenaten, including a remarkable papyrus depicting a group of Libyans slaying an Egyptian
Edited sentence: " The Libyco-Berber origin of the Meshwesh is also indicated in the personal names and a handful of non-Egyptian titles used by these people that are related to both ancient and modern Berber languages., Berber) tribe from Cyrenaica.During the 19th and 20th Dynasties the Meshwesh were in almost constant conflict with the Egyptian state, ultimately taking control of the country during the late 21st Dynasty under king Osorkon the Elder.For the remainder of the 18th Dynasty, information about Meshwesh or Libyans in general is sketchy.That the Meshwesh were of Libyan origin is explicitly stated in a genealogy contained on the stela of Pasenhor (dated to the reign of Shoshenq V, where the Great Chiefs of the Meshwesh (including the kings of the 22nd Dynasty) are stated to be the descendants of "Buyuwawa the Libyan.The Meshwesh were an ancient Libyan (i.There are, however, representations of Libyans (perhaps Meshwesh) from the reign of Akhenaten, including a remarkable papyrus depicting a group of Libyans slaying an Egyptian.They were to rule Egypt throughout the 22nd and 23rd Dynasties, their reign only coming to an end with the invasion of the Napatan 25th Dynasty