The war ended by Philip of Anjou winning. Britain and its allies finally accepted him to become the next king of Spain, but Philip V had to gave up his right to be king of France. Austria got most of Spanish Italy, and Britain got Spanish Menorca and Gibraltar.