Afonso V of Portugal, known as O Africano, was born on January fifteenth, fourteen thirty-two, and ascended to the throne at the tender age of six in fourteen thirty-eight. His early reign was characterized by a power struggle over regency between his mother, Eleanor of Aragon, and his uncle, Pedro, Duke of Coimbra. In fourteen thirty-nine, Pedro was appointed as the sole regent, but his authority faced challenges from the Braganza faction at court. Influenced by his other uncle, Afonso I, Duke of Braganza, Afonso dismissed Pedro in fourteen forty-eight and triumphed over him in the Battle of Alfarrobeira the following year.
Between fourteen fifty-eight and fourteen seventy-one, Afonso V focused on military campaigns in Africa, particularly in Morocco. His successful conquests of Alcácer-Ceguer, Arzila, and Tangiers earned him the title O Africano, reflecting his significant achievements on the African continent.
In the wake of Henry IV of Castile's death in fourteen seventy-four, Afonso claimed the Castilian throne for his niece, Joanna la Beltraneja. In May fourteen seventy-five, he led an army into Palencia, married Joanna, and declared himself sovereign of Castile, igniting the War of the Castilian Succession. However, after the disappointing outcome at the Battle of Toro and unsuccessful attempts to gain support from France, Afonso abdicated the Portuguese throne to embark on a pilgrimage to Jerusalem.
Persuaded to return to Portugal, Afonso reassumed the crown in November fourteen seventy-seven, shortly after his heir, John, was declared king. In the latter years of his reign, the kingdom's administration was largely managed by John. The Treaty of Alcáçovas, signed in fourteen seventy-nine, saw Afonso renounce his claim to the Castilian throne in exchange for Portuguese dominance in the Atlantic south of the Canary Islands. Afonso V passed away in fourteen eighty-one, leaving the throne to John.