used to strengthen Egyptian influence. Battle against Sherden pirates In his second year, Ramesses II decisively defeated the Sherden sea pirates who were wreaking havoc along Egypt's Mediterranean coast by attacking cargo-laden vessels travelling the sea routes to Egypt. The Sherden people probably came from the coast of Ionia, from southwest Anatolia or perhaps, also from the island of Sardinia. Ramesses posted troops and ships at strategic points along the coast and patiently allowed the pirates to attack their perceived prey before skillfully catching them by surprise in a sea battle and capturing them all in a single action. A stele from Tanis speaks of their having come "in their war-ships from the midst of the sea, and none were able to stand before them". There probably was a naval battle somewhere near the mouth of the Nile, as shortly afterward, many Sherden are seen among the pharaoh's body-guard where they are conspicuous by their horned helmets having a ball projecting from the middle, their round shields, and the great Naue II swords with which they are depicted in inscriptions of the Battle of Kadesh. In that sea battle, together with the Sherden, the pharaoh also defeated the Lukka (L'kkw, possibly the people later known as the Lycians), and the Šqrsšw (Shekelesh) peoples. First Syrian campaign The immediate antecedents to the Battle of Kadesh were the early campaigns of Ramesses II into Canaan. His first campaign seems to have taken place in the fourth year of his reign and was commemorated by the erection of what became the first of the Commemorative stelae of Nahr el-Kalb near what is now Beirut. The inscription is almost totally illegible due to weathering. In the fourth year of his reign, he captured the Hittite vassal state of the Amurru during his campaign in Syria. Second Syrian campaign Battle of Kadesh The Battle of Kadesh in his fifth regnal year was the climactic engagement in a campaign that Ramesses fought in Syria, against the resurgent Hittite forces of Muwatallis. The pharaoh wanted a victory at Kadesh both to expand Egypt's frontiers into Syria, and to emulate his father Seti I's triumphal entry into the city just a decade or so earlier. He also constructed his new capital, Pi-Ramesses. There he built factories to manufacture weapons, chariots, and shields, supposedly producing some 1,000 weapons in a week, about 250 chariots in two weeks, and 1,000