Maria II of Portugal 's mother Maria Leopoldina was the daughter of the Holy Roman Emperor , Francis II .
She was the eldest daughter of the Prince Pedro de Alcântara , future King of Portugal as Pedro IV and first Emperor of Brazil as Pedro I , and his first wife Maria Leopoldina , Archduchess of Austria , herself a daughter of Emperor Francis II .
Maria II of Portugal