Task: Text Categorization
Input (English): This man was made Prince of Benevento by a ruler who would later call him a "silk stocking full of shit" in front of his generals. Upon Ferdinand's forced surrender and abdication at Bayonne, he and his family were forced to this man's chateau at Valencay. The namesake of a partition plan of Poland, he was appointed as a bishop of Autun, although he would repudiate that role after his excommunication. This man had been providing advice to Alexander I after the Treaty of Tilsit, betraying a man he had helped to power in the 18th Brumaire coup. This man's tendency to demand bribes for his services nearly provoked war with the United States in the XYZ affair. For 10 points, name this duplicitous and talented diplomat under Napoleon who represented France at the Congress of Vienna.
Output (English): History