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.