Spanish invasion of Portugal (1762)


The Spanish invasion of Portugal between 5 May and 24 November 1762 was a main military episode of the wider Seven Years' War, where Spain and France were heavily defeated by the Anglo-Portuguese Alliance. It initially involved the forces of Spain and Portugal, before the French and British intervened in the conflict on the side of their respective allies. The war was also strongly marked by a national guerrilla warfare in the mountainous country, cutting off supplies from Spain, and a hostile peasantry that enforced a scorched earth policy as the invading armies approached, leaving the invaders starving and short of military supplies.
During the first invasion, 22,000 Spaniards commanded by Nicolás de Carvajal, Marquis of Sarria, entered the Province of Alto Trás-os-Montes having Oporto as their ultimate goal. After occupying some fortresses they were confronted with a national uprising. Taking advantage of the mountainous terrain, the guerrilla bands inflicted heavy losses on the invaders and practically cut off their communication lines with Spain, causing a shortage of essential supplies. Near starvation, the Spaniards tried to conquer Oporto quickly, but were defeated in the battle of Douro and in the battle of Montalegre before retreating to Spain. After this failure, the Spanish commander was replaced by Pedro Pablo Abarca de Bolea, Count of Aranda.
Meanwhile, 7,104 British troops landed in Lisbon, leading a massive reorganization of the Portuguese army under the Count of Lippe, the supreme allied commander-in-chief.
During the second invasion of Portugal, 42,000 Franco-Spaniards under Aranda took Almeida and several other strongholds, while the Anglo-Portuguese army stopped another Spanish invasion of Portugal by the province of Alentejo, attacking at Valencia de Alcántara, where a third Spanish corps was assembling for invasion.
The allies managed to stop the invading army in the mountains east of Abrantes, where the slope of the heights facing the Franco-Spanish army was abrupt but very soft on the side of the allies, which facilitated the supply and movements of the allies but acted as a barrier for the Franco-Spaniards. The Anglo-Portuguese also prevented the invaders from crossing the river Tagus and defeated them at Vila Velha.
The Franco-Spanish army was virtually destroyed by a deadly scorched earth strategy: peasants abandoned all the villages around, taking with them or destroying the crops, food and all that could be used by the invaders, including the roads and houses. The Portuguese government also encouraged desertion among the invaders offering large sums to all deserters and defectors. The invaders had to choose between stay and starve or withdraw. The final outcome was the disintegration of the Franco-Spanish army, which was compelled to retreat to Castelo Branco when a Portuguese force under Townshend made an encircling movement towards its rearguard. According to a report sent to London by the British ambassador in Portugal, Edward Hay, the invaders suffered 30,000 losses, mainly caused by starvation, desertion and capture during the chase of the Franco-Spanish remnants by the Anglo-Portuguese army and peasantry.
Finally the allied army took the Spanish headquarters, Castelo Branco, capturing a large number of Spaniards, wounded and sick – who Aranda had abandoned when he fled to Spain, after a second allied encircling movement.
During the third invasion of Portugal, the Spaniards attacked Marvão and Ouguela but were defeated with casualties. The allied army left their winter quarters and chased the retreating Spaniards, taking some prisoners; and a Portuguese corps entered Spain taking more prisoners at La Codosera.
On 24 November, Aranda asked for a truce which was accepted and signed by Lippe on 1 December 1762.

Background

Portuguese and Spanish neutrality in the Seven Years' War

During the Seven Years' War, a British fleet under Admiral Boscawen defeated a French fleet in Portuguese waters in front of Lagos, Algarve, in 1759. Three French ships of the line were captured and two were destroyed. Portugal, though an old ally of Britain, had stated her neutrality in this war and accordingly, the Portuguese prime minister Pombal demanded satisfaction from Great Britain. The British government apologized to the Portuguese king, José I, by sending a special delegation to Lisbon, yet the captured vessels were not returned, as demanded by France. The Portuguese government materially assisted the French garrisons that had taken refuge in Lagos after the battle. The French king, Louis XV, thanked José I for all the assistance given to the French sailors, although claiming for the navies. The case seemed settled, but Spain and France would use it as a pretext to invade Portugal four years later.
Portugal was having increasing difficulties in maintaining its neutrality in the Seven Years' War because of outbreaks of minor incidents between British and French: on one occasion, the British consul in Faro instructed British frigates to enter the city's harbour and prevent a French warship from unloading; and in Viana do Minho, British businessmen armed themselves and boarded a boat, recapturing a captured British merchant ship from a French corsair. Despite these incidents, the king and government of Portugal were strongly committed to keep the country out of the war.
On their part, the French were increasingly pressing a reluctant Spain to enter the war on their side. Both countries eventually signed the famous III Compact Family, a "continental system" mainly designed to isolate Britain in Europe. However, British ships intercepted official correspondence from Spain to France and learned that there was a secret clause providing that Spain should declare war on Britain on 1 May 1762.
The British anticipated Spain, declaring war first on 2 January 1762.

The Franco-Spanish Ultimatum

Both Bourbon powers decided to force Portugal to join their Family Compact. Spain and France sent an ultimatum to Lisbon stating that Portugal had to:
Portugal was given four days to answer, after which the country would face an invasion by the forces of France and Spain. Both Bourbon powers hoped to benefit by diverting British troops from Germany to Portugal, while Spain hoped to seize Portugal and its empire.
The Portuguese situation was desperate. The great Lisbon earthquake, tsunami and fire of 1755 had completely destroyed the Portuguese capital, killing tens of thousands and damaging most of the Portuguese fortresses. Rebuilding a new Lisbon left no money to sustain an army or navy; and even the military cadres who had died in the earthquake were not replaced by 1762. From 1750 onward the Brazilian gold supply started its irreversible decline, and the price of Brazilian sugar also fell as British and Dutch demand reduced.
horrified Europe, sparking a debate about the nature of its causes among the main European philosophers, mainly between Voltaire and Rousseau: Providential or natural? The famous pamphlet A Spanish Prophecy, published in 1762 in Madrid, intended to prove that all the carnage suffered by the Portuguese during the earthquake, tsunami and ensuing fire, were divine punishment for their alliance with the British heretics. British help included 6,000 barrels of meat, 4,000 of butter,1,200 sacks of rice, 10,000 quarters of flour and £100,000 for relief
The Portuguese navy – which had been powerful during the 15th century, was reduced to only three ships of the line and some frigates. The general picture of the Portuguese "army" was calamitous: The regiments were incomplete, the military warehouses were empty, and there were no military hospitals. By November 1761, the troops had not been paid for a year and a half, and many soldiers lived from robbery, or "assassinating for a livelihood". Military discipline was a distant memory and the greater part of the troops was "without uniforms and without arms". When French Ambassador O’Dunne delivered the ultimatum, a party of sergeants with a captain knocked on his door, begging for alms. Recruitment often included trapping vagrants and transients during popular gatherings. The Count of Saint-Priest, French ambassador in Portugal, reported: "It was impossible to find an army in greater disorder than in Portugal. When the Count of Lippe arrived, the army had as Field Marshal the Marquis de Alvito, who had never learned to shoot a rifle or command a regiment, even in peacetime. The colonels, mostly great Lords, placed as officers in their regiments their valets. It was very common to see soldiers, mostly ragged, begging for alms . This state of disorder had just finished shortly before I arrived. We need to be fair. The Count of Lippe established discipline, forced officials to choose between the position in the regiment or his previous condition as valets..With the aid of some foreign officials, military bodies were disciplined and when I arrived, were already trained."
To reinforce their ultimatum and press the Portuguese government, Spanish and French troops started gathering on the Portuguese northern frontiers since 16 March 1762, alleging it was merely a "preventive army". The Portuguese government declared its intention of defending to the last. As soon as news of the entry of Spanish troops into the North of the kingdom reached the Court, Portugal declared war both on Spain and France, asking for British financial and military assistance. Spain and France declared war on 15 and 20 June, respectively.

Invasions

First invasion of Portugal(Trás-os-Montes)

On 30 April 1762 a Spanish force penetrated into Portugal through the province of Trás-os-Montes and posted a proclamation entitled "reasons for entering Portugal", in which the Spaniards declared that they were coming not as enemies, but as friends and liberators who came to free the Portuguese people from the "heavy shackles of England", the "tyrant of the seas".
On May 5, the Marquis of Sarria, leading an army of 22,000 men started the real invasion. Portugal declared war on both Spain and France.
Miranda, the only fortified and provisioned fortress of the province, was besieged on 6 May 1762, but an accidental and huge powder explosion killed four hundred and opened two breaches in the ramparts, forcing the surrender on 9 May 1762. Bragança, Chaves, and Torre de Moncorvo were open cities without soldiers, and were occupied without firing a gun. There were neither fortresses with intact walls nor regular troops inside the entire province of Trás-os-Montes. The Spanish general joked about the complete absence of Portuguese soldiers across the province: "I can not discover where these insects are."
At first, the relationship of the invaders with the civil population was apparently excellent. The Spaniards paid double for the provisions they acquired, and there wasn't a single shotgun. But Madrid had committed a double error: since the Spaniards believed that the simple show of power would be enough to induce Portugal to submission, they entered the country almost without provisions, which would undermine the entire campaign. They also assumed that the country could provide them all the necessary food. When this proved an illusion, the Spanish army imposed forced requisitions of provisions to the populations. These were the trigger for a popular revolt, with war for food feeding war.

The "Portuguese ulcer"

Victory seemed a matter of time, and in Madrid, it was confidently expected that the fall of Oporto was imminent, but suddenly the invaders were confronted with a national rebellion, which spread around the Provinces of Trás-os-Montes and Minho. Francisco Sarmento, the governor of Trás-os-Montes, posted a declaration ordering the people to resist the Spaniards or be branded rebels. The Spaniards were confronted by deserted villages with neither food nor peasants to build roads for the army. Together with some militias and ordnances, gangs of civilians armed with sickles and guns attacked the Spanish troops, taking advantage of the mountainous terrain. The Spaniards suffered heavy losses and high rates of disease. Several reports on the ground confirm this: " Beira. Almeida, June 12, the Enemy , to the number of eight thousand has entered the frontier… several parties have rallied forth from the camp, and had pillaged the villages upon that frontier, and had not even spared the churches; but that these parties had been driven back by the Portuguese militia, who had killed and taken prisoners upwards of two hundred Spaniards. Minho…June 20…those who retired from Villa Real and Mirandela towards Miranda, were attacked upon their march by the militia… who killed some of the Spaniards, and took twenty odd prisoners…we have advice of the 22d , that a convoy of sixty mules, laden with provisions, had been taken from the enemy about two leagues from Chaves."
According to a French contemporary source, more than 4,000 Spaniards died in the hospital of Braganza, both from wounds and disease. Many others were killed by the guerrillas, taken prisoners, or died from starvation – which was becoming a growing problem.
The Portuguese nationalism and the atrocities committed by the Spanish army against peasant villages – mainly during food expeditions – were the fuel for the revolt. Even the King of Spain Charles III, in his declaration of war to Portugal – one month and a half after the start of the invasion and almost one month after the Portuguese declaration of war on Spain – complained that many Portuguese populations, conducted by undercover officers, had treacherously killed several Spanish detachments.
In another example, the Portuguese Corregidor of Miranda reported in August 1762 that the invading forces in the north had
The invaders were forced to split their forces in order to protect conquered strongholds, find food, and escorting convoys with supplies. The food for the army had to come from Spain itself, which made it vulnerable to attacks. Unless the Spanish army could quickly take Oporto, starvation would make their situation untenable.

Oporto: the decisive campaign

A Spanish force of 3,000 to 6,000 men led by O'Reilly left Chaves, and advanced towards Oporto. This caused great alarm among the British in the city, where their community had many stores with provisions and 30,000 pipes of wine waiting shipment. Measures for evacuating them were initiated by the British Admiralty, while the Portuguese governor of Oporto was ordered to leave the city.
But when the Spaniards tried to cross the River Douro between Torre de Moncorvo and Vila Nova de Foz Côa, they met O’Hara and his Portuguese force of hundreds of peasants with guns and some Ordenances, helped by women and children in the hills of the southern margin. In the battle that followed, the Spanish assaults were completely beaten off with losses. Panic took possession of the invaders, who made a hasty retreat and were chased by the peasants until Chaves. In the words of the contemporaneous French general Dumouriez, who went to Portugal in 1766 to study the campaign of 1762 in loco, writing a famous report sent to the King of Spain and to the French foreign minister Choiseul:
On May 26, another part of the Spanish army that had marched from Chaves towards the province of Minho, engaged in battle with the Portuguese ordnances at the mountains of Montalegre and the outcome was similar: the Spaniards had to retreat with losses.
An army of 8,000 Spaniards sent towards Almeida also suffered defeat: the invaders were driven back after suffering 200 casualties inflicted by the militias, and 600 dead in a failed assault to the fortress of Almeida
Finally, reinforcements were sent to Oporto and the province of Trás-os-Montes, who occupied the passes and defiles, endangering the Spanish withdrawal, and at the same time, making it inevitable.
Letters published in the British press few days later added:
"This is all the information we have had to this day, May 29 . The officers cannot find terms to express the courage of the militia and the zeal and eagerness which the people show to be engaged with the enemy."
The outcome of the battle of Douro proved crucial for the failure of the Spanish invasion, because as Dumouriez explained:
"Portugal was at that time without troops and planet-struck; had the army advanced rapidly upon Oporto it must have taken it without firing a gun. Great resources would have been found there, both in money, stores and provisions, and an excellent climate; the Spanish troops would not have perished as they did, with hunger and want of accommodations; the face of affairs would have been totally changed."

Spanish withdrawal

In addition to these setbacks, and similarly to the Napoleonic soldiers a few decades later, the Spaniards were experiencing carnage. A contemporary document notes that it was impossible to walk in the mountains of the province of Trás-os-Montes because of the nauseating odour of countless Spanish corpses, which the peasants refused – motivated by pure hate – to bury. Even inside the occupied cities the invaders were not safe: of about half a thousand miqueletes who entered Chaves, only eighteen were still alive by the end of June. According to the Spanish military historian José Luis Terrón Ponce, the total Spanish casualties during the first invasion of Portugal was over 8,000 men..
Having failed the main military target of the campaign, suffering terrible losses from famine and the guerrillas, and eventually threatened by the advancing Portuguese regular army at Lamego – which could split the two wings of the Spanish army the diminished and demoralized Spanish army was forced to withdraw towards Spain, abandoning all their conquests with the only exception of the city of Chaves. As a French military put it:
The first invasion had been defeated by the peasants alone, virtually without Portuguese regular troops or British troops, and very soon the Marquis of Sarria, the Spanish commander, would be replaced by Count of Aranda.
In order to save his and Charles III's face, Sarria "asked" to be removed for "reasons of health" immediately after the conquest of Almeida and after receiving the Order of the Golden Fleece: "The old Marquis of Sarria was rewarded for his failure with the Order of the Golden Fleece, and his 'voluntary resignation' was accepted."
Spain had lost the opportunity of defeating Portugal before the arrival of British troops and their assembling with the Portuguese regular forces.

Spanish atrocities

Many civilians were killed or transferred into Spain, together with the silver of the churches and the horses of the villages.
A contemporary account published in British press during this invasion is quite revealing:

Reorganisation of Portuguese army

Meanwhile, a British expeditionary force landed: the 83rd, 91st regiments of infantry, together with the major portion of the 16th light dragoons arrived at Lisbon in May; while the 3rd, 67th, 75th, and 85th regiments of foot along with two Royal Artillery companies only landed from Belle-Isle, in July 1762. The total number of this force is known with exactitude : 7,104 officers and men of all arms. Great Britain also sent provisions, ammunition and a loan of £200,000 to the Portuguese ally.
There was some friction between both allies, caused by problems of language, religion and envy; the Portuguese officers felt uncomfortable with being commanded by strangers, and especially with the salaries of their British peers, which was double theirs.
In addition to the difficulty of feeding British troops in Portugal, Lippe successfully faced another huge problem: the recreation of the Portuguese army and its integration with the British one. La Lippe selected only 7,000 to 8,000 men out of the 40,000 Portuguese soldiers who were submitted to him, and dismissed all the others as useless or unfit for military service.
Thus, the complete allied army in campaign was about 15,000 regular soldiers. The militias and ordnances were only used to garrison the fortresses whilst some regular troops remained in the north of Portugal to face the Spanish troops of Galicia. These 15,000 men had to face a combined army of 42,000 invaders.
Lippe would eventually be successful both in the integration of the two armies as well as in the final action. As noted by historian Martin Philippson: "The new leader was able, in a short time, to reorganize the Portuguese army, and with it, re-enforced by the English, he drove the Spaniards, in spite of their superiority in numbers, across the frontiers, "

Aborted Spanish invasion (Alentejo)

The Franco-Spanish army had been divided into three divisions: the Northeast Division, in Galicia, invaded the northeast Portuguese provinces of Trás-os-Montes and Minho with Oporto as its ultimate goal ; the central division – which afterwards invaded the Portuguese province of Beira towards Lisbon ; and finally a southern army's corps, designed to invade the province of Alentejo, in the south of Portugal.
The successes of the Franco-Spanish army in the beginning of the second invasion of Portugal caused such alarm that Joseph I pressured his commander, Count of Lippe, for an offensive campaign.
Since the enemy was gathering troops and ammunitions in the region of Valencia de Alcántara, near Alentejo – preparing a third Spanish invasion – Lippe chose to take preemptive action by attacking the invader on his own ground, in Estremadura. The troops around Valencia de Alcántara were the advanced lines of the Spanish third corps, and this city was a main supply depôt, containing magazines and a park of artillery.
The allies had the surprise factor on their side as the disparity of numbers and resources was so great that the Spaniards did not expect such a risky operation: they had neither barricades nor advanced piquets, or even guards, except in the City's great square.
On the morning of 27 August 1762, a force of 2,800 Anglo-Portuguese under Burgoyne attacked and took Valencia de Alcántara, defeated one of the best Spanish regiments, killed all the soldiers that resisted, captured three flags and several troops and officers – including the Major-General Don Miguel de Irunibeni, responsible for the invasion of Alentejo, and who had come into the city the day before. Many arms and ammunition were captured or destroyed.
The Battle of Valencia de Alcántara not only galvanized the Portuguese army at a critical phase of the war, but also prevented a third invasion of Portugal by the Alentejo, a plain and open province, through which the powerful Spanish chivalry could march towards the vicinity of Lisbon without opposition.
Burgoyne was rewarded by the King of Portugal, Joseph I, with a large diamond ring, together with the captured flags, while his international reputation skyrocketed.

Second invasion of Portugal (Beira)

After being defeated in the province of Trás-os-Montes, Sarria's shattered army returned into Spain by Ciudad Rodrigo and gathered with the Centre's army. Here, the two Spanish corps were joined by a French army of 12,000 men, led by Prince de Beauvau, putting the total number of the Bourbon invaders at 42,000 men.

Illusion of victory

The original plan to converge on Oporto through Trás-os Montes was abandoned and replaced by a new one: this time Portugal would be invaded through the province of Beira, in the east centre of the country, and the target would be Lisbon. Sarria was replaced by the Count of Aranda, while the Spanish minister Esquilache went to Portugal to support and organize the logistic of the Spanish army so that it had food for 6 months.
Considering the complete unpreparedness of the Portuguese army, and the huge disparity of forces, the Marquis of Pombal assembled twelve ships in the Tagus estuary prepared, if necessary, to transfer the Portuguese king and court into Brazil.
In the beginning of the second invasion, A British observer – after describing the Portuguese soldiers as the "wretched troops" he ever saw, who were "often five days together without bread, and the horses without forage" – wrote he was apprehensive that Lippe, overwhelmed by difficulties, ended up asking for resignation.
Indeed, at first the Franco-Spanish army occupied several fortresses with ruined walls and without regular troops: Alfaiates, Castelo Rodrigo, Penamacor, :pt:Monsanto |Monsanto, Salvaterra do Extremo, Segura, Castelo Branco, and Vila Velha surrendered practically without firing a gun, as lamented by the allied commander, Lippe. After the war, several fortresses governors would be tried and convicted for treason and cowardice.
Almeida, the main fortress of the Province, was in such a state that O’Hara, the British officer who led the guerrilleros and militias at the battle of Douro, advised the stronghold 's commander to take his garrison out of the fortress and put it in nearby country where defence could be much more easily sustained.. Its garrison, consisting only in two regular regiments and three militia regiments, experienced a drastic reduction in their numbers for desertion, during the enemy's approaching and siege. Facing an overwhelming combination of 24,000 Spanish and 8,000 French, and poorly commanded by an incompetent, the octogenarian Palhares, the remaining 1, 500 men surrendered with honours of war, after a symbolic resistance of nine days.
According to Dumouriez, the garrison had fired only 5 or 6 artillery shots – disobeying Palhares's prohibition of firing on the enemy – and had suffered only two dead. Having capitulated on condition of not serving against Spain for six months, they were allowed to go free, carry their guns and luggage, and join the Portuguese garrison of Viseu: The Bourbon allies were so amazed with such a hasty proposal for surrender, that they conceded all demanded.
The capture of Almeida was publicly celebrated in Madrid as a great victory and represented the peak of the initial Spanish predominance.
This auspicious beginning led to the impression that the Bourbons were winning the war, but in reality, the occupation of these strongholds would prove to be not only useless, but also harmful to the invaders, as pointed by historian George P. James:
In addition to this, a new popular revolt exponentially worsened the situation of the invaders.
Like Napoleon during the Peninsular War, the Franco-Spaniards of Aranda would learn in 1762 – at their own expense – that the occupation of several strongholds, although greatly praised by Spanish historiography, was irrelevant to the ultimate outcome of a war of guerrilla and movements.
2nd in command to the Anglo Portuguese army. Painting by Allan Ramsay

People in arms

The initial Franco-Spanish success in Beira benefited from the strong popular opposition to the regime of the Marquis of Pombal, the ruthless Portuguese prime minister; but the massacres and plunder perpetrated by the invaders – especially by the French – soon incurred the peasants' odium.
Having penetrated so deeply into the mountainous interior of Portugal, the Franco-Spanish rows find themselves harassed and decimated in ambushes by guerrilleros, who cut their lines of communication and supplies behind them. As Napoleonic general Maximilien Sébastien Foy put it:
Several French participants in the campaign stated that the most feared fighters were the guerrilleros of Trás-os-Montes and Beira. The inhabitants of the province of Beira wrote to the Portuguese prime minister informing him that they did not need regular soldiers, and were going to fight alone.
As explained by Spanish prime minister Godoy:
Sometimes the guerrilleros tortured their numerous prisoners, which in turn generated retaliations upon the civilians, in an endless spiral of violence. But while the peasant's casualties could be absorbed by their inexhaustible numbers, the same was not true for the invaders.
Even in the occupied cities and villages, the populations defied and rebelled against the Franco-Spaniards, according to a letter sent by D`Aranda to Lippe, asking him to put a stop to it. Many of them were executed.

Abrantes: turning point

Instead of trying to defend the extensive Portuguese frontier, Lippe retreated into the mountainous interior to defend the line of the River Tagus, which was equivalent to a forward defence of Lisbon.
Lippe’s main goals consisted in avoiding at all cost a battle against such a superior enemy, and also preventing the Franco-Spaniards from crossing the formidable barrier represented by the river Tagus. If the Bourbon armies could cross this river, they would reach the fertile province of Alentejo, whose plains would allow their numerous cavalry to reach easily the region of Lisbon. Indeed, immediately after the capture of Almeida, Aranda marched with the intention of crossing the Tagus into the Alentejo at the most propitious point: Vila Velha, where the Spanish army of Philip V of Spain had crossed the river, during the war of the Spanish succession some years before. Lippe, however, anticipated this movement and moved faster. He got to Abrantes and posted a detachment under Burgoynne at Niza and another one under the Count of Santiago near Alvito, to obstruct the passage of the river Tagus at Vila Velha; so that when the invading army came up, they found all these strategic positions occupied. Therefore, and as Lippe had predicted, the invaders had only two options: return into Spain, to cross the Tagus at Alcántara, or go straight to Lisbon through the mountains at the north of the capital, in the "neck" of the "peninsula" containing this city. In order to induce the enemy to choose the second route, Lippe placed some forces in these mountains but left some passages open. Since Lisbon was the main goal, Aranda advanced, while the allied forces fortified their excellent positions on the heights that cover Abrantes, halfway between Lisbon and the border. These mountains presented steep slopes on the side of the invaders, but were very soft on the side of the allies – which allowed them great freedom of movement and facilitated the reinforcements. Finally, the Anglo-Portuguese army managed to halt the advance of the Bourbon armies toward Lisbon. It was the turning point of the war.
. Leading an allied force of 3,000 cavalry, two thirds of whom were Portuguese, he was decisive in the defeat of the Franco-Spanish troops in Europe, during the Seven Years War: "French and Spanish armies overran Portugal... The British and Portuguese under Count de la Lippe Buckeburgh and Burgoyne defeated them and drove them into Spain."
In order to break this deadlock, the Spaniards went on the offensive towards Abrantes, the allied Headquarters. They took the little castle of Vila Velha and forced the defiles of St. Simon, near the River Alvito, launching a large force in pursuit of the detachment of Count of Santiago through the mountains.
This detachment was very near being entirely cut off, with two Spanish bodies marching upon their front and rear. But la Lippe sent an immediate reinforcement to Count de Santiago, and the combined allied force under Loudoun defeated the chasing Spanish troops at the River Alvito, and escaped to Sobreira Formosa. But while, the Spaniards were chasing the Count of Santiago's force through the mountains, they weakened their force in Vila Velha. On 5 October 1762, the Anglo-Portuguese commanded by Lee attacked and completely routed the Spaniards at Vila Velha. Several Spaniards were killed, and among the prisoners there were 6 officers. 60 artillery-mules were captured, the artillery and magazines destroyed. Moreover, in the very some day the Portuguese of Townshend defeated a French force escorting a convoy at Sabugal, capturing a large quantity of precious supplies.
The invaders did not pass and the offensive was a failure. The tide of the war had reversed and Abrantes proved to be "the key of Portugal" in the River Tagus, for its strategic position.

Scorched earth tactics

Both armies remained immobilized at Abrantes, facing each other. But while the Anglo-Portuguese continuously reinforced their positions and received provisions, the Bourbon armies had their line of supply and communication virtually cut off by the armed peasants, militia and ordinances in their rear. Worse than this, they were being starved by a deadly tactic of scorched earth. This tactic would be used again in 1810–11 against the French of Masséna, who, similarly to the invaders of 1762 were stopped in their march on Lisbon, being starved and attacked by guerrillas. As noted by the eminent British military historian Sir Charles Oman:
"Throughout Portuguese history the summons to the levy en masse had always been combined with another measure, from which indeed it could not be disentangled-the order to the whole population to evacuate and devastate the land in face of the advancing enemy. The use of the weapon of starvation... the plan for defeating the enemy by the system of devastation…was an ancient Portuguese device, practised from time immemorial against the Castilian invader, which had never failed of success. When Spain had made her last serious assault on Portugal in 1762... the plan had work admirably..."
Indeed, the Portuguese soldiers and peasants turned the Province of Beira into a desert: populations abandoned villages, bringing with them everything that was edible. The crops and all that could be useful to the enemy was burned or taken. Even the roads and some houses were destroyed.
Thus, the exhausted Franco-Spanish army was forced to choose between staying in front of Abrantes and starve, or withdraw, while still possible, closer to the border.
The allied plan proved almost perfect as it was based in two realities. First, to conquer Portugal the Franco-Spaniards had to take Lisbon. Second, Lisbon could only be attacked from the mountainous North since Lisbon is protected by the Atlantic Ocean at the West and by the great River Tagus at the South and East, being inside a kind of "peninsula". It exploited to the full both the Portuguese capital's geographical situation, and the erosion of the Franco-Spanish army through starvation caused by a scorched earth strategy and the collapse of its logistic lines.
The invading army was suffering terrible losses inflicted by the guerrillas, hunger, desertions, and disease; its situation becoming more and more untenable. Sooner or later, the Franco-Spanish army would have to retreat in a very shattered condition:
Then Lippe, seeing that the enemy's situation was desperate, completed it with an audacious move, which decided the campaign: when the Portuguese force of General Townshend – spreading the rumour that was part of a large British force of 20,000 newly landed men- performed an encirclement manoeuvre towards the rear of the demoralized invading army, it withdrew towards Castelo Branco,, which was nearer the frontier and where the new Spanish headquarters were established.
It was then that the allied army left their defensive positions and pursued the Spanish army, attacking its rear, taking many prisoners, and recovering almost all the towns and fortresses previously taken by the Spaniards -which had given Charles III so many hopes. On 3 November 1762, during the reconquest of Penamacor and Monsanto, the Portuguese of Hamilton routed a retreating Spanish cavalry force at Escalos de Cima, while the British of Fenton swept another retreating Spanish corps from Salvaterra. The Spaniards, who had entered Portugal as conquerors, taking provisions by force and torching those villages which refused to supply them, saw themselves now implacably chased in a devastated enemy territory. The nature of the war had reversed: the hunter had become the prey.

Collapse of Franco-Spanish army

During the retreat, the Franco-Spanish army – weakened by hunger, disease, and torrential rains – collapsed. Thousands defected, while their stragglers and wounded suffered a slaughter at the hands of the peasants:
and the Austrians at the battle of Jemappes. He was also the main Bourbon chronicler of the Franco-Spanish invasion of 1762: "It is with astonishment we read in the page of History that the Spaniards have almost always been beat by the Portuguese...this contempt ...is itself the fundamental cause of that continual disgrace which the Spaniards have suffered whenever they have carried their arms into Portugal."
The Scottish Colonel John Hamilton wrote in a letter dated 24 October 1762, that the army of Charles III was in a "most ruinous shattered condition", while Lippe would add in his Mémoir that the Bourbon army was "decimated by starvation, desertion and disease", his cavalry suffering a "debacle". The total losses of the Franco-Spanish army during the first two invasions of Portugal -according to a report of British ambassador in Portugal, Edward Hay, to Pitt’s successor, the 2nd Earl of Egremont -, was around 30,000 men, representing almost three quarters of the initial invading army.
More recently, French historian Isabelle Henry wrote about these losses: "Disappointed, facing incredible resistance and losing everything in the field, the Spaniards abandoned the fight and left behind twenty-five thousand men..."
For its part, the American historian Edmund O'Callaghan estimated that the Spanish army had already lost half of their men even before withdrawing: "Harrassed, dispirited, and reduced to almost one half of their original numbers, the Spanish troops retired within their own frontier".
Spanish military historian José Tertón Ponce wrote that since the beginning of the first invasion of Portugal up to the middle of the second invasion – immediately before the Bourbon retreat from Abrantes – the invading army had already suffered 20,000 casualties. There were additional losses during the retreat and third invasion.
Dumouriez, who traveled into Portugal and Spain, collecting testimonies from participants in the invasion of 1762, reported to Madrid and Paris, in 1766, that the Spaniards had lost 15,000 men during the second invasion of Portugal, plus 10,000 soldiers during the first invasion of Portugal, of whom 4,000 died in the Hospital of Braganza of injuries and sickness. This chronicler makes no estimate of the Spanish casualties in the third invasion of Portugal. The Franco-Spanish disaster was summarily captured in these much quoted contemporary words:
. The Russians in 1812, similarly to the Anglo-Portuguese in 1762, did not need to win one single battle to defeat the invading army -Indeed, they lost all the battles and all the main cities of the Russian empire.Yet, and again like the Anglo-Portuguese in 1762 and 1810, the Russians, using a scorched-earth policy and the guerrillas to disrupt the enemy's supply lines, compelled Napoleon to retreat with an even greater proportional loss than that experienced by Aranda in Portugal in 1762.
Comparatively, during the Napoleonic campaign to conquer Portugal a few years later, in 1810–1811, the French army of Massena lost 25,000 men to the Anglo-Portuguese of Wellington and guerrillas. The similarities between the two invasions of Portugal go far beyond the coincidence of the number of casualties suffered by the invaders in both situations. Historian Esdaile wrote that Wellington's "...plan was one of the most perfect schemes of defence that have ever been devised... It exploited both the Portuguese capital’s geographical situation and the poverty of the Portuguese countryside to the full, whilst at the same time bringing into play traditional responses to invasion in the Form of the ordinances and the devastation of the countryside in a scorched- Earth policy."
Only in the first days of July 1762, the total number of Spanish deserters who had entered the Portuguese army allowed creating 2 new full regiments, besides the many who boarded British and Dutch ships. This suggests a brutal defection rate, since the bulk of defections would only occur from mid-October onwards, during the retreat of the invaders, and most of the deserters who survived the Peasants were not incorporated into the Portuguese army, merely being used as informants or scouts. The Bourbon losses were simply devastating. Comparatively, the British losses were vastly inferior: fourteen soldiers were killed in combat and 804 men died from other causes, especially disease.
The tactic of destroying the opponent without fighting and attacking only when he withdraws was the key to victory.

Fall of Spanish headquarters

Nothing better symbolizes the Anglo-Portuguese victory than the final conquest of the Spanish headquarters in Castelo Branco itself.
When the allied army began a second encirclement movement to cut off the Spanish forces inside and around Castelo Branco, they fled to Spain, abandoning to their fate all their countless wounded and sick, accompanied by a letter addressed to Townshend, commander of the Portuguese force, in which the Count of Aranda demanded human treatment for their captured men.
The number of Spaniards taken can be deduced from a letter sent by the Secretary of the Portuguese army to the Portuguese prime minister, stating that according to Spanish deserters, the total number of sick men laying in Spanish hospitals was 12,000. By the ends of October, the invading army was concentrated almost entirely in the region around Castelo Branco. This number was exceptionally high, since besides the wounded, there were also many sick: the Spanish army, concentrated around Castelo Branco, was suffering a terrible epidemic. This epidemic was transmitted to the Portuguese population itself, when it returned to the city, shortly after the flight of the Spaniards. Thus, the joy of victory was overshadowed by the grief and mourning of many residents.
American historian Lawrence H. Gipson :
The defeat of Spain in Portugal was accompanied and aggravated by setbacks in her empire and in the sea: "In one short year the unfortunate Spaniards saw their armies beaten in Portugal, Cuba and Manila torn from their grasp, their commerce destroyed, and their fleets annihilated".
Meanwhile, admirers of Aranda anticipated his victory -taken for granted-, such as the humanist and reformer Stanislaw Konarski, who, writing from distant Poland, and ignoring the Franco-Spanish disaster, composed an ode in Latin in his honor, praising the generosity and humanism of the winner of Portugal towards the inhabitants of Lisbon surrendered to his feet.

La Lippe rewarded

Thus, except for two frontier strongholds, all the occupied territory was liberated.
and Hospital site. Fleeing before an inferior enemy, and leaving behind all their many wounded and sick in the hands of the Anglo-Portuguese, represented a severe blow in Spain's prestige, as well as the end of the second invasion of Portugal.
The remnants of the invading armies were expelled and chased to the border, and even within Spain itself, as would happen in Codicera, where several Spanish soldiers were imprisoned: "Portugal had not accepted the invitation to join France and Spain in this alliance and the latter powers... invaded Portugal. England sent a fleet promptly to Lisbon with 8,000 soldiers who helped drive the invaders back and followed them into Spain herself...The blows she had received were staggering..."
At the end of the war, La Lippe was invited by the Portuguese prime minister Pombal to stay in Portugal, in order to reorganize and modernize the Portuguese army. When Lippe eventually returned to his own country – praised by Voltaire in his famous Encyclopedia, and covered with prestige in Britain, and all Europe – the King of Portugal offered him six cannons of gold, a star studded with diamonds, among other gifts, as a sign of gratitude for the man who had saved his throne. The King determined that, even absent of Portugal, La Lippe retained nominal command of the Portuguese army, with the rank of Marshal General. And he was also given the title of "Serene Highness".
On the other hand, British government rewarded him with the title of "honorary Field Marshal".

Third invasion of Portugal (Alentejo)

The third invasion of Portuguese territory was stimulated by the peace negotiations between France and Great Britain and rumours of a general peace. Indeed, after her defeat in the last invasion, Spain felt compelled to reorganize her troops in order to conquer a portion of Portuguese territory that could be changed by her huge colonial losses at the hands of the British. This would reinforce her position and bargaining power during the peace talks, which would culminate in the Treaty of Paris, on 13 February 1763.

Surprise Factor

Since the remnants of the Bourbon troops were settled into winter quarters inside Spain, the allied army did the same in Portugal. By then, the French army was practically out of action because in addition to the many dead, deserters and prisoners, there were 3,000 French lying in the hospital of Salamanca.
Yet Aranda correctly assumed that if he attacked first, Portuguese garrisons would be completely taken by surprise. This time, the flatness of the terrain in the province of Alentejo, would give full advantage to the Spanish cavalry, instead of what happened in the two previous invasions.
He knew that the Portuguese fortresses were only manned by second line troops, and recent experience proved that siege operations were their Achilles' heel. Besides, the poor state of the Portuguese fortresses in the Alentejo was almost an invitation for invasion: during an inspection to the strongholds of Alentejo, British Brigadier-General Charles Rainsford recommended to remove some of their larger guns to prevent their capture.
However, Lippe had taken preventive measures by strengthening the garrisons of the Alentejo's fortresses near the border, while transferring some regiments from North to South of the riverTagus, in Alentejo, where they continued in winter quarters. He also created a reserve force consisting in all the British regiments and some Portuguese troops, near Sardoal. At last, some British officers were sent to command Portuguese garrisons in key strongholds: Field Marshal Clark into Elvas, Colonel Wrey into Alegrete, Colonel Vaughan into Arronches, Captain Brown into Marvão, keeping the Portuguese commanders of Ouguela and Campo Maior.
This set of measures would prove decisive.

Offensive

For this campaign, the Spaniards assembled three big divisions around Valencia de Alcántara. This time, unlike the two previous invasions, the Spaniards split their army in several corps, with each one attacking one target.
A Spanish force of 4,000 or 5,000 attempted to take Marvão with a frontal attack. The terrorized population pressed for surrender, but the firmness of Captain Brown prevailed and he opened fire against the attackers. The Spaniards were defeated with many losses and fled.
Another Spanish force of four squadrons attacked Ouguela, whose walls were ruined. Its tiny garrison, formed by some armed irregulars and fifty riflemen, routed the enemy, who fled leaving many dead behind. The King of Portugal promoted Captain Brás de Carvalho and the other Ouguela's officers to a higher rank. The assault on Campo Maior also failed because the Spanish unit from Badajoz was not supported by the Spanish unit of Albuquerque. The latter fled to Spain when part of the Portuguese garrison of Campo Maior tried to intercept it.

Third retreat, second chase

Eventually Lippe mobilized the entire allied army – finishing its winter quarters – and moving all units into south of the river Tagus, as soon as news of the enemy's offensive became known.
The Spaniards were demoralized by these failures: during the two previous invasions not even one stronghold had resisted ; while this time not even one fortress had been taken, giving the Portuguese time to assemble troops. The Portuguese army was now disciplined and well commanded. This renewed army – which initial unpopularity led some men to mutilate themselves to avoid conscription – saw their prestige and numbers skyrocket with volunteers. On the Contrary, the Franco-Spanish army was greatly diminished after the losses suffered during three failed invasions.
Once again – for the third time – the Spanish army was compelled to retreat and for the second time, it was chased by Anglo-Portuguese detachments, which took many prisoners. A few more prisoners were even taken inside Spain, when the Portuguese garrison of Alegrete, led by colonel Wrey, made a successful raid on La Codosera.

Spain seeks a truce

On 22 November 1762, seven days after the beginning of the definitive Spanish retreat from Portugal, and three days after the Portuguese incursion in Spain, the commander-in-chief of the Franco-Spanish army sent Major-General Bucarelli to the Anglo-Portuguese Headquarters at Monforte, with a Peace proposal: the suspension of hostilities. It was accepted and signed 9 days later, on 1 December 1762.
However, the Bourbon commander would try one last move to save his face: on the very same day Aranda sent a proposal to the Portuguese for the suspension of hostilities, he also sent a force of 4,000 men to seize the Portuguese town of Olivença. But the Spaniards withdrew as soon as they discovered that the garrison had just been reinforced shortly before. Lippe informed Aranda that such behaviour was odd for someone well-intentioned and eager for peace..
A preliminary peace treaty had been signed at Fontainebleau, but the definitive treaty was only signed on 10 February 1763 in Paris, with the presence of the Portuguese representative, Martinho de Melo e Castro, among all the other. By this treaty, Spain was obliged to return to Portugal the small cities of Almeida and Chaves, and Colonia del Sacramento in South America, besides large concessions to the British: "The Spaniards, having failed the campaign of Portugal, had to return Colonia del Sacramento, renounce claims on their fishing rights in Newfoundland, recognize the legality of the British settlements on the coast of Honduras, cede Florida to England, and confirm all the privileges that British commerce held before the war started."
Meanwhile, Portugal also captured Spanish territories in South America. The Portuguese won most of the valley of the Rio Negro, in the Amazon Basin, after dislodging the Spaniards from :pt:Forte de São José de Marabitanas|S. José de Marabitanas and :pt:Forte de São Gabriel da Cachoeira|S. Gabriel, where they built two fortresses.
The Portuguese, commanded by :pt:Antônio Rolim de Moura Tavares|Rolim Moura, also successfully resisted a Spanish army sent from Santa Cruz de la Sierra to dislodge them from the right bank of the Guaporé River, the "gate" for the gold-rich Province of Mato Grosso. The besieging Spanish army, reduced to less than half by disease, starvation and desertions, had to retreat, leaving the Portuguese in possession of the disputed territory and all its artillery.
This way, the confrontation between Portugal and Spain in South America, during the Seven Years' War, ended in a tactical stalemate. However, while the Spaniards lost to the Portuguese nearly all the territory conquered during the conflict, Portugal retained all its conquests in the Rio Negro Valley. The only lands that Portugal conquered and returned to Spain were the territories of San Martin and San Miguel.

Aftermath

Reasons for Spanish failure

It was a war without formal battles, of marches and counter-marches, and that is why it is called the Fantastic War in Portuguese historiography. It represented a victory of strategy over numbers, since the Bourbon armies failed to reach all their stated goals and had to retreat – with huge casualties – before an advancing and inferior enemy, who chased them out of Portugal.
The mountainous nature of the terrain and the collapse of logistic lines, respectively, well used and caused by the allies, were determinant.
Eventually, the genius of Count Lippe, and the discipline of British troops, whose officers managed to reorganize the whole Portuguese army in record time while taking advantage of its bravery, explain a Portuguese victory that many observers considered impossible at the time:
Most decisive of all were the hatred and resistance of rural populations to the foreign invader: "The Franco-Spanish army, commanded by Prince Beauvau and Count of Aranda, acted softly inside Portugal, who revolted against foreign invasion in the same way that Spain will do in 1808 , and was aided in its resistance by a body of 8,000 British landed in Lisbon. had to retreat by the valley of the Tagus".
The Spaniards also made several errors, such as changing plans three times and replacing the army's commander at a critical moment. Their relationship with the French was poor: Aranda even wrote to the Spanish court, complaining of the atrocities committed by French troops against the Portuguese villages. In addition, the large Spanish fleet sent to America not only diverted resources and logistics from the army aimed to conquer Portugal, but also prevented Spain from attacking Portugal by sea.
Besides, the Bourbon numerical superiority was mainly apparent as they had to split their forces in order to sustain the conquered strongholds, look for food, chase the guerrillas, escort supply convoys from Spain, and build roads. The remaining troops available for main military operations were very few, starved, and demoralized.

Loss of Spanish prestige

According to several contemporaries, the huge human losses experienced by the Spaniards during the invasion of Portugal, contributed to discredit Spain:
"Through a Compact Family / the sword he drew / thus, it was believed that the world he was going to conquer. / But he sheathed his sword again / having lost a splendid army / an excellent navy, money and a lot of men / and his honor in Havana / in six months alone.".
Far from saving France from defeat, Spain shared it, and indeed made it worse. However, after the war Spain would commit to peace, embracing a successful process of reforms and modernization.

Trials in Spain

After the end of the Seven Years' War, there was a war council in Spain to judge the military leaders involved in the fall of Havana at British hands, mainly Juan de Prado y Portocarrero and the Marquis of the Royal Transportation. The Count of Aranda was the President of this council. The punishments were generally very severe, and Aranda was particularly active asking inclusively the death sentence for the former Viceroy of Peru, Count of Superunda– whose only crime had been to be in the wrong place at the wrong time.
, who like other contemporary intellectuals, criticized the invasion of 1762. He attributed the Anglo-Portuguese victory over the Franco-Spaniards entirely to the genius of Count Lippe. He classified the Spanish Attempt of defeating Britain by invading Portugal, as "the greatest political stroke that modern history records". Adam Smith, in its turn, considered the invasion a biased economical tactic, since it was based on the premise that England would not survive without the gold of Portugal.
The devastating defeat caused great commotion in the Spanish public opinion, who demanded scapegoats. But, ironically, it would be the loser of the Portuguese campaign of 1762 who would judge the loser of Cuba. Spanish historian José de Urdañez pointed out that:

Stalemate in South America

The Spanish invasion of Portugal in Europe was followed by a Spanish invasion of Portuguese territories in South America. The first ended in disaster while the second had a mixed result.
Cevallos also captured the fort of Santa Teresa on 19 April 1763, and the little fort of San Miguel, in April 23.
However, the Spaniards were defeated by the Portuguese at the Battle of Santa Bárbara, when an invading army of 500 Spaniards and 2,000 Indians, in cooperation with Cevallos, tried to conquer Rio Pardo, almost the only remaining Portuguese territory in Rio Grande do Sul: seven cannons, 9,000 heads of cattle and 5,000 horses were captured.
This huge territory would be completely retaken by the Portuguese during the so-called "deaf war".
There they raised two fortresses, using Spanish cannons.
This way, if the confrontation between Portugal and Spain in South America, during the Seven Years' War, ended in a tactical stalemate, it represented also a Portuguese strategic victory in the short run: the Spaniards would lose to the Portuguese nearly all the territory they had conquered during the conflict, while Portugal retained all its conquests in the Rio Negro Valley and the Guapore’s right bank/Mato Grosso.The only lands that Portugal conquered and returned to Spain were the territories of San Martin and San Miguel missions.

Invasion in literature

Curiously, the Franco-Spanish invasion of Portugal is almost a forgotten episode in Portuguese History text books. And for Portuguese literature, it is like a blind spot.
However, in English literature, there is at least a book on the subject: Absolute honour, whose hero is an Englishman that lives adventures during the Bourbon invasion of Portugal in 1762.
Naturally, and for understandable reasons, this campaign is also almost absent from Spanish literature. There is, nevertheless, a high qualified exception -the great Novelist and Dramaturge Benito Pérez Galdós, who wrote a tale about the battle of Bailén, where a personage, D. Santiago Fernández, describes sarcastically his participation in the campaign of 1762, fiercely defending his master, the marquis of Sarria:
"... There was no other Sarria born after Alexander the Macedonian. That was a great campaign, yes sir; we entered Portugal, and although we had to withdraw shortly after, because the English appeared before us. The Marquis of Sarria was a supporter of the Prussian tactic, which is to be quiet and wait for the enemy to advance wildly, thus rapidly being tired and defeated. In the first battle fought with the Portuguese villagers, everyone began to run when they saw us, and the general ordered the cavalry to take possession of a herd of sheep, which was achieved without bloodshed."

Citations