The Hittites under the command of Muwatallis (c. 1320-c. 1294 BC) fought for the domination of Syria with ancient Egyptians under Seti I and Ramses II. This is known as one of the greatest battles of the ancient world, the battle of Kadesh in 1299 BC. Although Ramses claimed the victory, the result was most certainly indecisive, so 16 years later, under Hattusilis III (c. 1275-c. 1250 BC), a peace treaty and a pact for mutual defense were signed between the Hittites and the Egyptians.
https://aenigmaunveiled.wordpress.com/2012/03/09/the-mystery-of-hittites/