Afonso Henriques, King of Portugal, took Lisbon from the Almoravids with the help of the crusaders
At the end of the siege that began on 1 July 1147, the garrison agreed on 21 October to surrender on condition of free exit, and the gates were opened four days later; Lisbon became the capital of Portugal.
Sources
- Encyclopedia.com, 'Alfonso I (Portugal)' (New Catholic Encyclopedia) https://www.encyclopedia.com/people/history/spanish-and-portuguese-history-biographies/alfonso-i-portugal — «They joined the royal forces in the 17-week siege of Lisbon, which ended with the Moslems' capitulation on October 25.»