Answer
The 8th Duke of Braganza, John IV, ascended to the throne of Portugal following a successful revolution against the Spanish Habsburg rule in 1640. Prior to his reign as king, John held the title of Duke of Braganza, the head of the powerful House of Braganza, one of the most prominent noble families in Portugal.