House of Braganza for a lifetime." He accepted the leadership of the rebellion, which was successful, and was acclaimed João IV of Portugal on 1 December 1640. After the accession of the Braganzas to the throne, the duchy was linked to the Crown. "Duke of Braganza" became the traditional title of the heir to the throne, together with Prince of Brazil and, later, Prince Royal of Portugal, much as Prince of Wales is in the United Kingdom or Prince of Asturias in Spain. Under D. João's sons D. Afonso VI and D. Pedro II, the Portuguese colonial empire, part of which was lost
Fernando II, Duke of Braganza focused on diminishing the powers of the two most powerful noble houses in the kingdom, House of Beja and Viseu and the House of Braganza. King John II accused his first cousin, Diogo I of Beja and Viseu (brother-in-law of Fernando II), of high treason and had him brutally executed. Soon after, the King also accused his second half-cousin, Fernando II of Braganza, of high treason and had him executed at Évora in 1483. Afterwards, the assets of the House of Braganza were confiscated and the family fled to Castile. The family returned in 1498 and had all their property