As an addition to this, it is notable that the greatest victory of the Second Crusade (1145-49) was not actually in the Holy land, but in Portugal.Richard Frost wrote: ↑Sun Nov 27 2022 11:07am1095: At the Council of Clermont, Pope Urban II called for the Crusade against the Muslims who had occupied the Holy Land and were attacking the Byzantine Empire and gave cloth crosses to the knights to be sewn into their armour which gave the Crusades their name......
The country had only asserted it's independence from León in 1128 and it's sovereignty as a Kingdom after defeating the Moors at Ourique in 1139. However, there were still parts of the present country held by Moors beyond that date, notably the Algarve (Al Gharb) and Lisbon.
Crusaders sailing from Dartmouth in 1147 were forced by storms to land at Porto and convinced to help the new king to beseige the important city on the Tagus estuary. After 4 months of siege, the Moors surrendered and an English monk/crusader, Gilbert of Hastings, was made Bishop of Lisbon, but the city did not become capital of Portugal until 1255.
As an aside, In 1249, King Afonso III of Portugal captured Faro, the last Muslim stronghold in Algarve and secured the independence of what is now Portugal, The current border is almost identical to that defined in 1297 by the Treaty of Alcañices. It is 1,214 km (754 mi) long, but is not defined for 18 km (11 mi) between the Caia river and Ribeira de Cuncos, because of the disputed status of Olivenza/Olivença, which Spain has never returned to Portugal after its forced annexation in 1801, despite this action being agreed in the Treaty of Vienna, 1815. Spain continues to administer the enclave, whilst portugues maps show the border there as a dashed line on official maps. It's also notable that Portugal, as a country, is far older than Spain, which was not united until after the expulsion of the Moors in 1492.