Afonso III moved his capital from Coimbra to Lisbon in 1260, six years after he had called the first Cortes (parliament) in Leiria.
The first Cortes was called in 1254.
Afonso III ruled in Coimbra until his death.