Shortly after the battle, Afonso Henriques is said to have called for the first assembly of the estates-general () of
Portugal at
Lamego, where he was given the
crown from the
Primate Archbishop of Braga, to confirm Portuguese independence from the
Kingdom of León. This was a patriotic falsification perpetuated by the clergy, nobility, and supporters who promoted the
restoration of Portuguese sovereignty and the claims of
John IV, after the
Iberian Union. The documents that refer to the estates-general were "deciphered" by
Cistercian monks from the
Monastery of Alcobaça to perpetuate the myth and justify the legitimacy of the Portuguese crown in the 17th century. The author of this falsification was Oliveira Marques, and even in 1632 there were misgivings about the validity of the chronicler's account or the existence of the Cortes of Lamego The account continued to support the notion that a meeting of the
Cortes occurred in the Church of Santa Maria de Almacave, in Lamego, in 1143. During this meeting, after being acclaimed by the estates-general, Afonso Henriques accepted a group of laws on royal succession and excluded the Castilian line of kings from the Portuguese throne, made provisions for the nobility on justice and the independence of Portugal. However, even as Spanish jurists and diplomats later demonstrated that the document was not credible, the Portuguese defended the account's authenticity.
Alexandre Herculano later recounted the patriotic re-imagining in his
História de Portugal, which caused its controversy, and was later perpetuated by the writings of
Alfredo Pimenta (who defended the existence of the Cortes of Lamego). In commemoration of the Battle of Ourique, the first
Portuguese coat-of-arms appeared, that included five small shields representing the five defeated Muslim kings (from one interpretation), which was later challenged by many authors.
Legend 's vision of
Jesus Christ and the
Guardian Angel of Portugal during the Battle of Ourique (1139) Some years later, the idea of a
miraculous intervention in the battle by
Saint James in favor of the Portuguese appeared in the chronicles of the battle. Saint James was widely venerated in
Iberia (with a main centre of veneration in
Santiago de Compostela, in
Galicia, where his tomb was believed to be), generally seen as the . Due to
Portuguese independence, this legend was embellished with time to distance the Portuguese from Spanish devotional practices and beliefs. Later interpretations replaced Saint James with
Saint George and, finally,
Jesus Christ. In the legend, Henriques was visited before the battle by an old man who dreamed that Henriques would be victorious because God would intervene in his favour. He advised the nobleman to leave the encampment alone when he heard the bell of the local chapel. Riding off, he was surprised by a ray of light that showed him (in one interpretation) the sign of the cross and Jesus Christ on a crucifix. Henriques knelt in its presence and heard the voice of Christ, who told him he would defeat the Almoravids, which he, through courage and his faith, succeeded the following day. The legend of the miracle of the Battle of Ourique thus served as a political instrument to defend Portuguese independence as divine will. Yet, the legend, possibly earlier, has its first known record in the early 15th century by the
Monastery of Santa Cruz monks, during the battles between
John I and the Kingdom of Castile. Some modern authors claim that it is a creation of the monks, or forged by these, while not presenting evidence to support their theory, being, according to others, a long popular and royal belief tradition. The legend first appeared in the
Crónica de Portugal de 1419 and was accepted as fact until
Alexandre Herculano reexamined the event, judging it a "pious fraud," in his investigation in the middle of the 19th century. ==See also==