stylistic:style_transfer, information:highlighting, linguistic:paraphrasing
Second Syrian campaign

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 Muwatalli II. 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 shields in a week and a half. After these preparations, Ramesses moved to attack territory in the Levant, which belonged to a more substantial enemy than any he had ever faced in war: the Hittite Empire.

After advancing through Canaan for exactly a month, according to the Egyptian sources, Ramesses arrived at Kadesh on 1 May, 1274 BC. Here, Ramesses' troops were caught in a Hittite ambush and were initially outnumbered by the enemy, whose chariotry smashed through the second division of Ramesses' forces and attacked his camp. Receiving reinforcements from other Egyptian divisions arriving on the battlefield, the Egyptians counterattacked and routed the Hittites, whose survivors abandoned their chariots and swam the Orontes river to reach the safe city walls. Although left in possession of the battlefield, Ramesses, logistically unable to sustain a long siege, returned to Egypt. While Ramesses claimed a great victory, and this was technically true in terms of the actual battle, it is generally considered that the Hittites were the ultimate victors as far as the overall campaign was concerned, since the Egyptians retreated after the battle, and Hittite forces invaded and briefly occupied the Egyptian possessions in the region of Damascus.