Task: Text Categorization
Input (English): 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 (English): History