Merneptah had to carry out several military campaigns during his reign. In the fifth year of his rule, he fought against the Libyans, who— with the assistance of the Sea Peoples— were threatening Egypt from the west. Merneptah led a victorious six-hour battle against a combined Libyan and Sea People force at the city of Perire, probably located on the western edge of the Nile delta. His account of this campaign against the Sea Peoples and Libu is described in prose on a wall beside the sixth pylon at Karnak, which states: