Given the task definition and input, reply with output. 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.

Louis Boufflers and Claude de Villars lost the Battle of Malplaquet during ths war, and the Treaties of Baden and Rastatt partially ended this war. The signing of the Asiento was one result of this war, which later precipitated the War of the Quadruple Alliance. Queen Anne's War was an extension of this war, and during this war, the Battle of Ramillies was won by the Duke of (*) Marlborough, who also won at the Battle of Blenheim. This war began after the Bourbon Philip V inherited the throne of a certain country from Charles II. For ten points, name this early eighteenth century war which was ended by the Treaty of Utrecht and was fought over the throne of a certain Iberian country.
History