Afonso IV, called the Brave (Portuguese: o Bravo), was King of Portugal and the Algarves from 1325 until his death. He was the only legitimate son of King Denis of Portugal by his wife Elizabeth of Aragon.
Afonso IV's nickname the Brave alludes to his martial exploits. However, his most important accomplishments were the relative peace enjoyed by the country during his long reign and the support he gave to the Portuguese Navy. Afonso granted public funding to raise a proper commercial fleet and ordered the first Portuguese maritime explorations. The conflict with Pedro, and the explorations he initiated, eventually became the foundation of the Portuguese national epic, Os Lusíadas by Luís de Camões.