In the spring of 1663, a Spanish army under the command of Don Juan de Austria, son of Philip IV of Spain, had overrun the greater part of south Portugal with the important city of Évora taken on 22 May. This opened up for potential march on Lisbon, 135 kilometers to the west.