battle of 1706 during the War of Spanish Succession