You will be given a definition of a task first, then some input of the task.
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 ruler survived a rebellion lead by the Parlements [PAR-l'-mahn] as a child, and his armies were victorious at the Battle of the Dunes. This man acquired Franche-Comte through the Treaty of Nijmegen, and he began the War of Devolution, which led to the dissolution of the League of the Rhine. He dealt with the Fronde during his reign, and this participant in the War of Spanish Succession repealed the Edict of Nantes. For 10 points, name this French monarch who built a palace in Versailles and was known as the "Sun King."
Output:
History