Battle of the Lines of Elvas

The Battle of the Lines of Elvas (Portuguese pronunciation: [ˈɛɫvɐʃ]), was fought on 14 January 1659, in Elvas, between Portugal and Spain during the Portuguese Restoration War. It ended in a decisive Portuguese victory.

Battle of the Lines of Elvas
Part of the Portuguese Restoration War
Battle of the lines of Elvas diagram PNG.png
Battle of the Lines of Elvas
Date14 January 1659
Location38°53′27.24″N 7°10′37.20″W / 38.8909000°N 7.1770000°W / 38.8909000; -7.1770000Coordinates: 38°53′27.24″N 7°10′37.20″W / 38.8909000°N 7.1770000°W / 38.8909000; -7.1770000
Result Portuguese victory [1]
Portugal Spain
Commanders and leaders
António Meneses
André Ribafria 
Luis de Haro
10,500 [2]
50 cannon [3]
10 cannon [3]
Casualties and losses
898 killed, wounded and captured [4] 11,200 killed, wounded and captured [4]
Battle of the Lines of Elvas is located in Portugal
Battle of the Lines of Elvas
Location within Portugal
Battle of the Lines of Elvas is located in Spain
Battle of the Lines of Elvas
Battle of the Lines of Elvas (Spain)
Battle of the Lines of Elvas is located in Mediterranean
Battle of the Lines of Elvas
Battle of the Lines of Elvas (Mediterranean)


By 1659, the Portuguese Restoration War which began in 1640 had degenerated into a stalemate. Other than cross border raids, little fighting had occurred and neither the Spanish or Portuguese armies could achieve a decisive battlefield victory. Philip IV of Spain sought to end the conflict by laying siege to and capturing a major Portuguese position, thereby luring out and destroying any Portuguese army that tried to aid the embattled garrison.

The town of Elvas was chosen as a target due to the threat it posed to the Spanish city of Badajoz, as seen during the Battle of Montijo in 1644 when a Portuguese army based at Elvas had crossed the border, raided Spanish towns, and attacked a Spanish army. The capture of Elvas and Fort Santa Luzia would also allow the Spanish Army to proceed down the Estremoz road to the Portuguese capital of Lisbon if they so chose. The Portuguese court was aware of the Spanish threat to the city and had greatly reinforced the strength of the city's defensive fortifications during the course of the war. However, years of only minor military action in the area had degraded the readiness of the garrison, and the city was unprepared for a siege. In addition, though the Spanish preparation for the offensive was detected, the vast majority the Portuguese Army was deployed in the north of the country in preparation for a suspected Spanish attack there.

In December 1658 a Spanish army commanded by D. Grandee Luis de Haro camped in the frontier of the Caia River with 14,000 infantry, 3,500 cavalry, and several pieces of artillery. The Spanish preparation for the siege of Elvas took several days, time which the Portuguese used to further prepare the city defenses and call for aid. De Haro distributed his troops in trenches, giving orders to kill everyone that approached the city, and prepared his army to confront the relief force the Portuguese would inevitably send. The Spanish bombarded the city, causing panic and casualties among the civil population, while disease claimed 300 lives a day inside the walls. The siege would persist for several weeks. The only way the situation could turn in favor of the Portuguese was with the help of a relief army. Queen-Mother Luisa de Guzman decided to call for António Luís de Meneses, Count of Cantanhede, and gave him the command of all Portuguese troops in Alentejo. She also transferred to the same theater of operations Sancho Manoel de Vilhena, who assumed the post of field marshal.[5]

Meneses, although facing extremely poor logistical conditions, gathered an army in Estremoz. He organized recruitment efforts in Viseu and in the Madeira islands and united the garrisons of Borba, Juromenha, Campo Maior, Vila Viçosa, Monforte, and Arronches into a single army. The gathered army had 8,000 infantry, 2,500 cavalry, and seven cannon. The Portuguese cavalry were notably lead by General André de Albuquerque Ribafria, who was considered the most capable commander of the war and credited with reforming the Portuguese cavalry into an elite force.[6][better source needed] The Portuguese army left Estremoz in early January, marching to the east towards the besieged city. Rather than take the flatter main road between Estremoz and Elvas, the Portuguese instead moved to the north and east of the city. On the night of 16 January the army arrived and occupied the hills to the northeast of Elvas, from where they could see the city and the enemy lines.[4]


On 17 January, around 8 o'clock in the morning, the Portuguese army occupied the hill of Assomada and from there began to advance on the Spanish siege lines.[4] The advancing forces were shrouded by a thick fog as they moved into the valley in front of the Spanish lines.[7] Around 8 o'clock in the morning, the Portuguese attacked the Spanish army near the village of Murtais (possibly by a stream of the same name), where the Portuguese infantry fought with such ferocity that the Spanish were driven from that segment of their trenches. When the Spanish cavalry moved to intervene, the Portuguese cannon fired into them. Using his infantry in conjunction with his artillery, Meneses was able to stall several Spanish cavalry charges.

The Portuguese cavalry was then ordered to counter-charge the retreating Spanish cavalry, and, despite the superior Spanish numbers, routed them. This victory was in no small part due to the personal initiative and leadership of General Ribafria, who was keen on crushing the Spanish cavalry while they were on the defensive.[6] With these early actions won, Meneses divided his army, drawing up one part to attack the Spanish trenches while sending the other around the Spanish army's right flank. Having lost most of his cavalry, De Haro was left unaware of this movement. From his position on Assomada hill, Meneses then signaled the Elvas garrison to sally forth from their defenses and join the attack. Meanwhile, De Haro continued to conduct a pitched defensive battle centered on his static trench line, and failed to deal with the encircling Portuguese forces. By mid afternoon the Spanish were valiantly defending their lines, but after some time Meneses's dual flanking maneuver began to wear down the defenders, who were now under attack from multiple directions.

De Haro abandoned his strategy too late in the day, and the Spanish lines eventual broke, with thousands of soldiers fleeing in panic.[8] Meneses wasted no time in his pursuit of the Spanish, and harried them for the next three days as they retreated across the border to Badajoz. Many Spaniards became trapped against the Caia river and were forced to surrender. The rout was so total that the Spanish artillerymen were unable to spike (disable) their cannons before the Portuguese captured them, and Cantanhede came into possession of 22 assorted artillery pieces among other loot.[9]

Spanish casualties were heavy; Of the 17,500 men commanded by De Haro, only 5,000 infantry and 1,300 cavalry managed to reach Badajoz.[10] The Portuguese suffered some 200 killed and 700 wounded. The most notable Portuguese casualty was Ribafria, who was killed while leading an assault on a hard point in the Spanish trenches.

After his success in the battle, Meneses, Count of Cantanhede, received among several honours the title of Marquis of Marialva on 11 June 1661. Six years later at the Battle of Montes Claros, Meneses used a strategy similar to the one he used at the Battle of the Lines to repulse a similar Spanish cavalry charge.

A commemorative monument stands on the site of the battlefield. The Garrison Border Town of Elvas and its Fortifications were declared a World Heritage Site in 2012.



  1. ^ Stearns & Langer 1960, p. 331.
  2. ^ Ribeiro 2004, p. 84.
  3. ^ a b White 2002, p. 10.
  4. ^ a b c d Conde da Ericeira 1751, p. 229.
  5. ^ Conde da Ericeira 1751, p. 217.
  6. ^ a b "Linhas de Elvas | Guerra da Restauração". (in European Portuguese). Retrieved 7 July 2018.
  7. ^ "Linhas de Elvas | Guerra da Restauração". (in European Portuguese). Retrieved 14 July 2018.
  8. ^ Jacques 2007, p. 333.
  9. ^ Ribeiro 2004, p. 85.
  10. ^ Conde da Ericeira 1751, p. 227.


  • Conde da Ericeira, Luis de Menezes (1751). Historia de Portugal Restaurado; 1657-1662 (in Portuguese).
  • Jacques, Tony (2007). Dictionary of Battles and Sieges: A Guide to 8,500 Battles from Antiquity through the Twenty-first Century, Volume 1, A-E. Greenwood. ISBN 978-0-313-33537-2.
  • Ribeiro, Ângelo (2004). História de Portugal: A Restauração da Independência-O Início da Dinastia de Bragança (in Portuguese). ISBN 989-554-110-4.
  • Stearns, Peter N; Langer, William Leonard (1960). The Encyclopedia of World history: ancient, medieval, and modern, chronologically arranged (2001 ed.). Houghton Mifflin Harcourt. ISBN 978-0395652374.
  • White, Lorraine (2002). "The Experience of Spain's Early Modern Soldiers: Combat, Welfare and Violence". War in History. 9 (1): 1–38. doi:10.1191/0968344502wh248oa. JSTOR 26014120. PMID 20191681. S2CID 2651000.