they were simultaneous with the war of the spanish succession