Given the task definition and input, reply with output. In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

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.
History