During the War of the Spanish Succession he first supported Philip V of Spain .
During the War of the Spanish Succession he first went over to the Austrians in 1710 , and lived the last years of his life in Vienna .
During the War of the Spanish Succession he first supported Philip V of Spain , but went over to the Austrians in 1710 , and lived the last years of his life in Vienna .