 In 1706 de Tessé was beaten near Barcelona, and it became apparent that the border with Portugal was unprotected.Minas took his chance and marched his army all the way to Madrid, bypassing Badajoz.The stiffest resistance was met at Alcántara, where the garrison of 4200 resisted for 5 days until it had to capitulate.