how is Joseph Ferdinand of Bavaria and Leopold I, Holy Roman Emperor related?
Joseph Ferdinand of Bavaria Joseph Ferdinand Leopold of Bavaria (28 October 1692 – 6 February 1699) was the son of Maximilian II Emanuel, Elector of Bavaria (1679–1705, 1714–1726) and his first wife, Maria Antonia of Austria, daughter of Leopold I, Holy Roman Emperor, maternal granddaughter of King Felipe IV of Spain.
Archduke Joseph, Palatine of Hungary Joseph Anton Johann, Archduke of Austria (German: "Erzherzog Joseph Anton Johann Baptist von Österreich-Toscana, a.k.a. Joseph Anton Johann von Österreich" , Hungarian: "Habsburg-Toscanai József Antal János főherceg, a.k.a. József nádor" , Czech: "Josef Habsbursko-Lotrinský" , 9 March 1776, Florence – 13 January 1847, Buda), was the Palatine of Hungary from 1796 to 1847. He was the seventh son of Leopold II, Holy Roman Emperor and Maria Luisa of Spain.