Anna Miełżyńska was the great-grandmother of which Queen consort of the Polish-Lithuanian Commonwealth?
Catherine Opalińska Catherine Opalińska (Polish: "Katarzyna Opalińska" ; 13 October 1680 – 19 March 1747) was Queen consort of the Polish-Lithuanian Commonwealth twice and Duchess consort of Lorraine through her marriage with Stanisław I of Poland.
Sophia of Halshany Sophia of Halshany or Sonka Olshanskaya (Belarusian: Соф'я Гальшанская, "Sofja Halšanskaja" ; Lithuanian: "Sofija Alšėniškė" ; Polish: "Zofia Holszańska" ;  1405 – September 21, 1461 in Kraków) was a Grand Duchy of Lithuania princess of Halshany. As the fourth and last wife of Jogaila, King of Poland and Supreme Duke of Lithuania, she was Queen consort of Poland (1422–1434). As the mother of Władysław III, King of Poland and Hungary, and Casimir IV, Grand Duke of Lithuania and King of Poland, she was the founder of the Jagiellon dynasty.