Task: Text Categorization
Input (English): The Hague Partition Treaty was an unsuccessful attempt to prevent this war. This war's most notable\n naval battle was fought at Malaga. This war resulted in the asiento, an agreement that gave England the\n right to supply slaves to South America. Many battles in this war were won as the result of cooperation\n between the Austrian General Eugene of Savoy and the English General Duke of Marlborough, including\n the Battle of Blenheim. England gained control of Gibraltar because of this war. This war began with the\n death of Charles II and ended with a French prince becoming King Philip V. For 10 points, name this war\n ended by the Treaty of Utrecht, fought over who should rule the namesake country with capital Madrid.
Output (English): History