Task: Text Categorization
Input (English): An early act in this man's reign was to appoint Nebwenenef as high priest of Amon at Thebes. The poem Pen-ta-ur describes his early military experience, and a marriage stele depicts the king of Kheta explaining the advantages of giving his daughter as a wife to this man. His name was found on a record at Nahr al-Kalb where he stopped a campaign one year before his forces marched to the Orontes River. His principal wives were Asetnofret and Nefertari. He may be best known for a battle he lost to Muwatalli and a Hittite force. FTP, name this Nineteenth Dynasty king, who signed a treaty after losing the battle of Kadesh.
Output (English): History