Answer
Leopold I, Holy Roman Emperor was a descendant of Maria Anna of Spain because she was his grandmother. Maria Anna was the daughter of Philip III of Spain and Margaret of Austria. She married Ferdinand III, Holy Roman Emperor, and they had seven children, including Leopold I.