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.

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