Task: Text Categorization
Input (English): This politician was embarrassed when his government's legal campaign against Hardy, Tooke, and Thelwall ended with the complete exoneration of those men. During one of his ministries, this man supported the impeachment of Warren Hastings, the Governor General of Bengal, and after the conclusion of his first ministry, he held the position of Warden of the Cinque Ports. His government was able to achieve favorable terms from the Spanish after John Meares' ship was seized near Vancouver Island in the (*) Nootka Sound Controversy. This man served as the Chancellor of the Exchequer under Lord Shelburne under which he developed a rivalry with Charles James Fox. During his second and final ministry, he led Britain through the War of the Third Coalition and the Battle of Trafalgar. First assuming the office of Prime Minister despite being just 24 years old, FTP, identify this PM under George II, whose "elder" father of the same name, a Duke of Chatham, was known as the Great Commoner.
Output (English): History