Afonso V (ɐˈfõsu) (15 January 1432 – 28 August 1481), known by the sobriquet the African (o Africano), was king of Portugal from 1438 until his death in 1481, with a brief interruption in 1477. His sobriquet refers to his military conquests in Northern Africa.
As of 1471, Afonso V was the first king of Portugal to claim dominion over a plural "Kingdom of the Algarves", instead of the singular "Kingdom of the Algarve". Territories added to the Portuguese crown lands in North Africa during the 15th century came to be referred to as possessions of the Kingdom of the Algarve (now a region of southern Portugal), not the Kingdom of Portugal. The "Algarves" then were considered to be the southern Portuguese territories on both sides of the Strait of Gibraltar.
Afonso was born in Sintra, the second son of King Edward of Portugal by his wife Eleanor of Aragon. Following the death of his older brother, Infante João (1429–1433), Afonso acceded to the position of heir apparent and was made the first Prince of Portugal by his father, who sought to emulate the English Court's custom of a dynastic title that distinguished the heir apparent from the other children of the monarch. He was only six years old when he succeeded his father in 1438.
During his minority, Afonso was placed under the regency of his mother, Eleanor, in accordance with the will left by his late father. As both a foreigner and a woman, the queen was not a popular choice for regent. When the cortes met in late 1438, a law was passed requiring a joint regency consisting of Eleanor and Pedro, Duke of Coimbra, the younger brother of the late king. The dual regency was a failure and in 1439, the cortes named Pedro "protector and guardian" of the king and "ruler and defender" of the kingdom. Eleanor attempted to resist, but without support in Portugal she fled to Castile.
Pedro's main policies were concerned with restricting the political power of the great noble houses and expanding the powers of the crown.