Wikipedia
The Meshwesh (often abbreviated in ancient Egyptian as Ma) were an ancient Libyan tribe of Berber origin from beyond Cyrenaica. According to ancient Egyptian hieroglyphics, this area is where the Libu and Tehenu inhabited.
Early records of the Meshwesh date back to the 18th Dynasty of Ancient Egypt, from the reign of Amenhotep III. During the 19th and 20th Dynasties of Egypt (c. 1295 – 1075 BC), the Meshwesh were in almost constant conflict with the Egyptian state. During the late 21st Dynasty, increasing numbers of Meswesh Libyans began to settle in the Western Delta region of Egypt. They would ultimately take control of the country during the late 21st Dynasty first under King Osorkon the Elder. After an interregnum of 38 years, during which the native Egyptian kings Siamun and Psusennes II assumed the throne, the Meshwesh ruled Egypt throughout the 22nd and 23rd Dynasties under such powerful pharaohs as Shoshenq I, Osorkon I, Osorkon II, Shoshenq III and Osorkon III. Their reign only came to an end with the invasion of the Kushite 25th Dynasty in Year 20 of Piye.