Afonso III, called the Boulonnais, was King of Portugal and the first to use the title King of Portugal and the Algarve, from 1249. He was the second son of King Afonso II of Portugal and Urraca of Castile; he succeeded his brother, King Sancho II of Portugal, who died on 4 January 1248.