The origin of the name "Libya" first appeared in an inscription of Ramesses II, written as ''rbw'' in hieroglyphic. The name derives from a generalized identity given to a large confederacy of ancient east "Libyan" berbers, African people(s) and tribes who lived around the lush regions of Cyrenaica and Marmarica. An army of 40,000 men and a confederacy of tribes known as "Great Chiefs of the Libu" were led by King Meryey who fought a war against pharaoh Merneptah in year 5 (1208 BCE).  This conflict was mentioned in the Great Karnak Inscription in the western delta during the 5th and 6th years of his reign and resulted in a defeat for Meryey. According to the Great Karnak Inscription, the military alliance comprised the Meshwesh, the Lukka, and the "Sea Peoples" known as the Ekwesh, Teresh, Shekelesh, and the Sherden.