Charles, Prince of Viana (Basque: Karlos IV), sometimes called Charles IV of Navarre, was the son of King John II of Aragon and Queen Blanche I of Navarre. His mother was the daughter and heiress of Charles III, King of Navarre. Both his grandfather Charles and his mother, who ruled over Navarre from 1425 to 1441, had bequeathed this kingdom to Charles, whose right had also been recognized by the Cortes; but when Blanche died in 1441 her husband John seized the kingdom to the exclusion of his son.
The ill-feeling between father and son was increased when in 1447 John took for his second wife Juana Enriquez, a Castilian noblewoman (of a bastard cadet line from Castilian kings), who soon bore him a son, afterwards Ferdinand II of Aragon, and who regarded her stepson as an interloper. When Joanna began to interfere in the internal affairs of Navarre, a civil war broke out, and in 1452 Charles, although aided by King John II of Castile, was defeated and taken prisoner. Released upon promising not to take the kingly title until after his father's death, the prince, again unsuccessful in an appeal to arms, took refuge in Naples with King Alfonso V of Aragon. In 1458 Alfonso died and John became king of Aragon, while Charles was offered the crowns of Naples and Sicily. He declined these proposals, and having been reconciled with his father returned to Navarre in 1459. Aspiring to marry Isabella of Castile, he was then thrown into prison by his father, and the Catalans rose in his favor. This insurrection soon became general and John was obliged to yield. He released his son, and recognized him as perpetual governor of Catalonia, and heir to the kingdom.
Soon afterwards, however, on 23 September 1461, the prince died at Barcelona, not without a suspicion that he had been poisoned by his stepmother, Joanna Enriquez.