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: , 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 late 21st Dynasty under king Osorkon the Elder.For the remainder of the 18th Dynasty, information about Meshwesh or Libyans in general is sketchy.The Meshwesh were an ancient Libyan (i.There are, however, representations of Libyans (possibly 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