The reign of Affonso Henriques may be divided into four clearly marked periods—the regency of Donna Theresa; the wars of dismemberment, by which the independence of Portugal was established; the wars of acquisition against the Moors, by which the southern frontier of the country was extended; and the period of partial decline after the defeat and imprisonment of the king in 1166. Of these four periods the first has been described, but each of the others deserves a close examination, for each of them possesses a distinct importance in Portuguese history.

The four wars of Affonso Henriques with Alfonso VII. ended in the recognition of the Portuguese hero as king, and in the abandonment by him of all interference in Gallicia. The first Gallician war consisted of an incursion by Affonso Henriques into Gallicia, in 1130, the year of his mother’s death, which was caused by the desire of the Count to punish Fernando Peres, who was preparing on his side an invasion of Portugal. From this incursion Affonso was recalled by the news that Fernando’s brother, Bermudo Peres, who had married Affonso’s sister, and was governor of Viseu, was in open insurrection. Affonso instantly returned, took Bermudo’s castle of Seia, confiscated his estates, and forced him to become a monk; and the Gallician party in Portugal received a blow from which it never recovered. In 1135 Affonso made a second incursion into Gallicia, took the town of Limia, and built the great castle of Celmes. Alfonso VII., who had in this year been elected Emperor, and whose supremacy was acknowledged not only all over Spain, but in Provence as well, was not likely to brook this insolence on the part of the Count of Portugal, and speedily sent an army, which captured Celmes and then withdrew. Affonso did not feel grateful for the leniency with which he had been treated, but in 1137 made a third incursion into Gallicia, at the invitation of Gomes Nunes of Tuy, and Rodrigo Peres of Limia, and utterly defeated the counts true to Alfonso VII., headed by his old enemy Fernando Peres, and by Rodrigo Vela, in the hard-fought battle of Cerneja. This defeat at last roused the Emperor Alfonso, who came in person with a powerful army to punish the count, or as he now termed himself, the Infante of Portugal. Fortunately for Affonso the two armies did not come to blows; the ecclesiastics on both sides argued that it was monstrous for two Christian princes to fight with each other instead of with the Moors, and by the mediation of the Archbishop of Braga and the Bishop of Oporto, on behalf of Affonso, and of the Bishops of Tuy, Segovia, and Orense for the Emperor, the Peace of Tuy was signed on July 4, 1137. By this peace Affonso Henriques promised to abandon all interference with Gallician affairs, and to submit himself as a vassal to the Emperor, and both princes swore to turn their arms against the Mohammedans. But the Portuguese prince did not abide by the terms of the Peace of Tuy, in so far as it made him a vassal; and after winning his famous victory over the Moors at Ourique, in 1139, he again invaded Gallicia, and in 1140 the last battle between the sons of the two brothers-in-arms, the French counts, Raymond and Henry, was fought. Affonso Henriques was wounded, and it was agreed, in consonance with the ideas of the times, to refer the great question of Portuguese independence to a chivalrous contest. In a great tournament, known as the “Tourney of Valdevez,” the Portuguese knights were entirely successful over those of Castile, and in consequence of their victory Affonso Henriques assumed the title of King of Portugal.

This is the turning-point of Portuguese history, and it is a curious fact that the independence of Portugal from Gallicia was achieved by victory in a tournament and not in war. Up to 1136 Affonso Henriques had styled himself Infante, in imitation of the title borne by his mother; from 1136 to 1140 he styled himself Principe, and in 1140 he first took the title of King. There is no document extant in which the Emperor acknowledged his cousin as a sovereign as early as this date, and, indeed, the agreement is only known as the “Truce of Valdevez,” but he obviously acquiesced in it, on condition that Affonso Henriques gave up all idea of interfering in Gallician politics or of extending his frontiers towards the north. But a more important consent than that of the Emperor had to be obtained before the Portuguese prince could obtain admission into the sacred circle of Christian kings, and this was the consent of the Pope. The head of the Church at this period was Innocent II., who was earnestly desirous of promoting the crusading spirit, and was especially grieved at the very existence of the Moors in Spain. He despatched Cardinal Guy de Vico to establish union amongst the Christian princes there, and the cardinal in 1143 drew up a regular peace and treaty between the Emperor and Affonso Henriques at Zamora. By this treaty the latter was recognized as sovereign monarch of Portugal, and the Emperor also granted to him the lordship of Astorga as a fief, in order that he might thus exercise some control over the Portuguese king. In reward for the mediation of the cardinal, Affonso Henriques further declared himself by letter to be a vassal of the Pope, and promised to pay four ounces of gold a year, by which measure he placed himself under the protection of the Spiritual Head of Christendom, and secured a guarantee for the perpetuation of his dynasty.

Portugal was now an independent kingdom. The wars of dismemberment were over; the wars of extension and establishment were now to take their place. The next twenty-five years of the reign of Affonso Henriques were spent in one long crusade against the Moors, and were full of incident and adventure.

But before entering upon a summary description of these wars, which spread the fame of the Portuguese and of their monarch throughout Europe, something must be said of the Moorish wars, which were carried on simultaneously with the wars of dismemberment. These Gallician wars have been described first and by themselves, because of the common mistake made that it was by his successes against the Moors that Affonso Henriques won his crown. This mistake is of old standing; the early Portuguese chroniclers always ascribed the independence of their country as due to the successes of their first king over the infidels, and it was not until the modern school of historians arose in Portugal, which examined documents and did not take the statements of their predecessors on trust, that it was clearly pointed out that Affonso Henriques won his crown by his long struggle with his Christian cousin, and not by his exploits against the Moors. This fact is such an important one that it ranks amongst the most startling discoveries made by the modern scientific school of historians, and to bring it into clearer prominence the early years of war with the Moors have been purposely passed over until now; although there can be no doubt that the exploits of the great Portuguese crusader made the Emperor more ready to recognize him as an independent sovereign, and the Pope more anxious to comply with his desire to be admitted among the sovereigns of Europe. As a proof of his admission it may be noted here that Affonso Henriques married in 1146 the daughter of a European prince, Matilda of Savoy, daughter of Amadeus II., Count of Savoy, Maurrienne, and Piedmont.


The condition of the Moorish power in Spain had been particularly favourable to his early enterprises in Gallicia, for it had left him comparatively free from the fear of invasion from the south, and given him opportunities for winning signal victories. The wave of Mohammedan fanaticism, which had established the Almoravid dynasty in Spain and Morocco, and defeated the Christian chivalry at the battle of Zalaca, had lost its power, and the Almoravides had degenerated.[2] Independent Mohammedan dynasties had again established themselves in the different provinces of Spain, while in Africa, the successor of the Mahdi, Abd-el-Mumin, was destroying the power of the Almoravides with a fresh fanatical movement. The three independent emīrs with whom the Portuguese had to deal were those of the Alfaghar or Algarves, of Al-kasr Ibn Abi Danes, which comprised Badajoz, Elvas, and Evora, and of the Belatha, which included the Mohammedan possessions to the north of the Tagus with the important cities of Lisbon, Santarem, and Cintra. Under these emīrs were numerous “wālis” of districts, “vezīrs” of cities, and “kāids” of castles, who were semi-independent; and as not only the emīrs, but their subordinates were constantly at war with each other, and could expect but little help from the Almoravide caliph, the incursions of the Portuguese were generally crowned with success.

After his accession to the government, Affonso Henriques had chiefly left the duty of harassing the Moors to the Knights Templars and Knights Hospitallers, who engaged in frequent expeditions from their headquarters at Soure and Thomar, where they had been established by Donna Theresa. Busied as he was with his schemes for independence, Affonso did little to assist these knightly monks, except to build a great castle at Leiria, which was intended at once to cover his capital Coimbra, and to serve as a base for expeditions against Santarem and Cintra. The erection of this castle alarmed the Mohammedans of the Belatha, and caused them for a moment to drop their quarrels with each other. They raised a large army, and in 1135, the very year in which the castle of Leiria had been built, they stormed it, killed the 240 knights who had been left as its garrison, and defeated a Christian army at Thomar. At the time of these disasters Affonso was in Gallicia, but when affairs there were temporarily settled by the Peace of Tuy, he prepared to undertake a great expedition against the Moors and gathered all the chivalry of Portugal to follow him.

When he had collected his army in May, 1139, he determined to do more than make one of the usual expeditions into the ruined and devastated districts of the Belatha, and to force his way to the south of the Tagus, and thus drive the war into the heart of the enemy’s country. He knew that the opposition would not be so serious as it would have been in previous years, because Teshfīn, the last Almoravide caliph, who had succeeded his father in 1137, had in 1138 taken the flower of the Mohammedan chivalry of Spain across the straits to Africa to make a last effort to subdue the growing power of the Almohades or followers of the Mahdi. He knew also that his cousin Alfonso was making his second incursion into the heart of Andalusia, and he therefore boldly crossed the Tagus and entered the province of Al-kasr Ibn Abi Danes, as the western portion of the old Moslem emirate of the Gharb was called. The emīr, Ismar or Omar, tried to collect an army, but Affonso advanced with rapidity and utterly defeated him, with four of his “wālis,” at Orik or Ourique eight leagues south of Beja, on July 25, 1139.