Pedro II was nephew of Miguel I (father's part), Napoleon Bonaparte (mother's part) and cousin of Emperors Napoleon II, Franz Joseph I and Maximilian I of Mexico. He was Maria da Glória's youngst brother and uncle of kings Pedro V and Luís I.