<Table> <Tr> <Th_colspan="2"> War of the Spanish Succession </Th> </Tr> <Tr> <Td_colspan="2"> Philip of Anjou is proclaimed Philip V of Spain on 16 November 1700 at Versailles . </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> July 1701--August 1714 </Td> </Tr> <Tr> <Th> Location </Th> <Td> Low Countries, Italy, Spain and Portugal </Td> </Tr> <Tr> <Th> Result </Th> <Td> <Ul> <Li> Treaties of Utrecht, Rastatt, and Baden: </Li> <Li> Philip recognised as King of Spain, renounces throne of France; </Li> <Li> Spain cedes Spanish Netherlands, Naples, Milan and Sardinia to Austria; Sicily to Savoy; Gibraltar and Menorca to Britain . </Li> <Li> Creation of Dutch Barrier </Li> <Li> Britain gains commercial rights in Spanish Empire </Li> <Li> Wittelsbach rulers restored in Bavaria, Liège and Cologne </Li> </Ul> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th_colspan="2"> Belligerents </Th> </Tr> <Tr> <Td> <P> The Grand Alliance </P> <Ul> <Li> Holy Roman Empire </Li> <Li> Great Britain </Li> <Li> Dutch Republic </Li> <Li> Habsburg Spain </Li> </Ul> <P> Associated allies </P> <Ul> <Li> Prussia (from January 1702) </Li> <Li> Portugal (from May 1703) </Li> <Li> Savoy (from October 1703) </Li> </Ul> </Td> <Td> <P> The Bourbon Alliance </P> <Ul> <Li> France </Li> <Li> Bourbon Spain </Li> </Ul> <P> Briefly involved states </P> <Ul> <Li> Bavaria (until November 1704) </Li> <Li> Cologne (until 1702) </Li> <Li> Liège (until 1702) </Li> <Li> Portugal (June 1701 to May 1703) </Li> <Li> Savoy (April 1701 to October 1703) </Li> </Ul> <Ul> <Li> Hungary (1703--1711) </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Commanders and leaders </Th> </Tr> <Tr> <Td> <Ul> <Li> Anne </Li> <Li> Duke of Marlborough </Li> <Li> </Li> <Li> Leopold I </Li> <Li> Joseph I </Li> <Li> Charles VI </Li> <Li> Prince Eugene </Li> <Li> Louis of Baden </Li> <Li> Count Starhemberg </Li> <Li> Prussia Frederick I </Li> <Li> Lord Overkirk </Li> <Li> Victor Amadeus II </Li> <Li> Pedro II of Portugal </Li> <Li> Marques de Minas </Li> </Ul> </Td> <Td> <Ul> <Li> Louis XIV </Li> <Li> duc de Villars </Li> <Li> Duke of Berwick </Li> <Li> duc de Vendôme </Li> <Li> duc de Boufflers </Li> <Li> Villeroi </Li> <Li> Philip V </Li> <Li> Maximilian II Emanuel </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Casualties and losses </Th> </Tr> <Tr> <Td> <Ul> <Li> 100,000 </Li> <Li> 250,000 </Li> <Li> 100,000 </Li> <Li> 50,000 </Li> </Ul> </Td> <Td> <Ul> <Li> 500,000--600,000 </Li> <Li> 100,000 + </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> 235,000--400,000 killed in action </Td> </Tr> </Table> <Tr> <Th_colspan="2"> War of the Spanish Succession </Th> </Tr>

Who fought in the war of the spanish succession
find me the text answering this question