Task: Text Categorization
Input (English): At the end of this war, the duchies of Lorraine and Bar were taken away from France for a generation and the displaced duke of Lorraine was given the duchy of Tuscany after the death of its last Medici ruler. Sardinia entered in hopes of dislodging the Austrians from Lombardy, but it was Spanish entry that caused the defeat of Anna of Russia, Holy Roman Emperor Charles VI, and their candidate. It began upon the death of Augustus II and escalated after the fall of Danzig, which forced the flight of Stanislaus I.  FTP, name this war that ended with the Treaty of Vienna in 1738, a conflict over ascension to an Eastern European throne.
Output (English): History