it took the side of the archduke charles during the war of succession