From this time onwards, the title "Duke of Braganza" was kept for the heir apparent of the throne – in its strictest sense. Although the other title for an unavoidable heir, that of "Prince of Brazil", was from time to time granted even to female heirs, the Dukedom of Braganza was always reserved only for the male heir except for two extraordinary creations, in 1683 and 1711. These two creations are deemed invalid by some legalists, who accordingly number the dukes in a way that Luís Filipe, Prince Royal of Portugal, the last Duke of Braganza during the period of Portuguese monarchy, is reckoned to be the 21st Duke. The present table reflects a numbering that specifies him as the 21st Duke.