Leszek, Duke of Masovia
Leszek of Masovia (also "Lestek")
(b. ca.
1162 - d. 1186) was a Polish prince from the Piast dynasty, the Duke of Masovia from 1173 until his death.
He was the only son of Bolesław IV the Curly, Duke of Masovia and High Prince of Polan, who survived father.
After his father death he inherited Masovia.
At the beginning, Leszek ruled under the guardianship of his uncle Casimir II
the Just.
He was a man of poor health.
For a short time he supported his other uncle, Mieszko III the Old, but later decided to reconciled with Kazimierz II, who after Leszek's death inherited his duchy.
Gaudemunda of Lithuania
Gaudemunda Sophia of Lithuania( also Gaudimantė; c. 1260 – 1288/1313) was the daughter of Traidenis, Grand Duke of Lithuania( c. 1270 – 1282).
In 1279 she married Duke of Masovia Bolesław II( c. 1254–1313) of the Piast dynasty.
He was the son of Ziemowit I, Prince of Masovia, and Pereyaslava, daughter of Daniel of Galicia of the Rurik dynasty.
Her husband united the Duchy of Masovia and then divided it between their sons, who were:
Sophia of Masovia
Sophia of Masovia( 1497/1498- before 11 March 1543) was a Princess of Masovia, daughter of Konrad III Rudy, Duke of Masovia and his wife Anna Radziwiłł.
She was a member of the House of Piast.
On 17 September 1520 in Warsaw, Sophia was married by proxy to Stephen VII Báthory.
On 17 January 1521, Sophia and her entourage went to Hungary, where in February there was a formal marriage.
The couple had three children:
Anna, Stephen and Klara; however, other sources claim that Klara was the couple's only child.
Klara was engaged to Carl, Duke of Münsterberg, but died in 1535, before the marriage took place.
After the death of Stephen in 1530, Sophia was married to Croatian magnate Louis Pekry.
Sophia's second marriage was childless.
She then died sometime before 11 March 1543.
Sophia had three siblings: Stanislaus I of Masovia, Janusz III of Masovia and Anna of Masovia, both her brothers died childless and so Anna and Sophia were the last Masovian Piasts.
Soon after Janusz's death, the Duchy of Masovia was annexed into the kingdom of Poland, despite resistance from some of the Masovian nobility.
They tried to retain their independence and argued that the Duchy should be inherited by the female relatives( such as Anna or Sophia).
The Polish king refused to recognize their demands.
Anna was made titular Duchess of Masovia.
Bolesław IV the Curly
Bolesław IV the Curly (also known as Boleslaus IV the Curly) (ca. 1125 – 5 January 1173) of the Piast dynasty was Duke of Masovia from 1138 and High Duke of Poland from 1146 until his death.
He was the third son of Duke Bolesław III Wrymouth of Poland by his second wife Salomea, daughter of the Swabian count Henry of Berg.
The death of his older brothers, Leszek and Casimir, before 1131 and in October 1131, respectively, left him as the eldest son of their parents.
Hedwig of Masovia
Hedwig of Masovia( ca. 1392 – after 19 February 1439), was a Polish princess, member of the House of Piast in the Masovian branch.
She was the eldest daughter of Siemowit IV, Duke of Masovia and Alexandra, a daughter of Algirdas, Grand Duke of Lithuania and sister of King Władysław II Jagiełło of Poland.
Siemowit III, Duke of Masovia
Siemowit III of Masovia( his name also rendered Ziemowit; – 1381) was a prince of Masovia and a co-regent( with his brother Casimir I of Warsaw) of the lands of Warsaw, Czersk, Rawa, Gostynin and other parts of Masovia.
Konrad I of Masovia
Konrad I of Masovia( ca. 1187/88 – 31 August 1247), from the Polish Piast dynasty, was the sixth Duke of Masovia and Kujawy from 1194 until his death as well as High Duke of Poland from 1229 to 1232 and again from 1241 to 1243.
Anna of Masovia
Anna of Masovia( c. 1498 – after 26 January 1557 in Jaroslaw) was Princess of Mazovia and a member of the House of Piast.
She was the last representative of the line of Masovian- Piast.
She was the second daughter of Konrad III of Masovia and Anna Radziwiłł.
She was a sister of Dukes Janusz III of Masovia and Stanislaus of Masovia, and Sophia, who married Stephen VII Báthory.
Siemowit I of Masovia
Siemowit I of Masovia( c. 1224/28 – 23 June 1262), was a Polish prince member of the House of Piast, Duke of Czersk during 1247- 1248, Duke of Masovia( except Dobrzy ń) during 1248- 1262, ruler over Sieradz during 1259- 1260.
He was the sixth son of Konrad I of Masovia and his wife Agafia of Rus.
He was named after his older brother Siemowit, who died young in 1224.
Amelia of Masovia
Amelia of Masovia( pl:" Amelia mazowiecka"; 1397/98- after 17 May 1434), was a Polish princess member of the House of Piast in the Masovian branch.
She was the fourth daughter of Siemowit IV, Duke of Masovia and Alexandra, a daughter of Algirdas, Grand Duke of Lithuania and sister of King Władysław II Jagiełło of Poland.

Question: Who is Leszek, Duke Of Masovia's paternal grandfather?
Answer: Bolesław III Wrymouth