Task: Text Categorization
Input (English): In the second year of his reign, this ruler defeated the pirates known as the Shardana in a sea battle. He signed a treaty with the Hittite king Hattusili II. His most famous consort, Nefertari, is buried in the largest tomb in the Valley of Queens. He defeated the Hittites under Muwatallis in the Battle of (*) Kadesh. A fallen statue in a large temple dedicated to this man was the inspiration for Percy Bysshe Shelley's poem "Ozymandias." For 10 points, name this pharaoh of the 19th dynasty who commissioned the Abu Simbel temples and was nicknamed "the Great."
Output (English): History