Theodoric I, Count of Montbéliard
Theodoric I  (ca. 1045 – 2 January 1105) was a Count of Montbéliard, Count of Bar and lord of Mousson (as Theodoric II) and Count of Verdun.
He was the son of Louis, Count of Montbéliard, and Sophie, Countess of Bar and Lady of Mousson.
After his father's death, he claimed the estate of the Duchy of Lorraine, which his father had already claimed.
The claim was dismissed by Emperor Henry IV, confirming the duchy to Theodoric the Valiant.
In retaliation, he ravaged the diocese of Metz, but he was defeated by Adalbéron III, bishop of Metz, and the Duke of Lorraine Theodoric the Valiant.
Reconciled with the Church, he founded an abbey in 1074 in Haguenau and rebuilt the church at Montbéliard in 1080.
He did not participate at the Council of Clermont in 1095, or the Crusades, but rather sent his son Louis in the Crusades.
In 1100, the Bishop of Verdun gave the county to Thierry for life, but the relationship between the spiritual and temporal powers was turbulent.
In 1065 Theodoric married Ermentrude of Burgundy (1055–1105), daughter of William I, Count of Burgundy, and Stephanie.
They had the following issue:
Henriette, Countess of Montbéliard
Henriette( 1387 – 14 February 1444) was Sovereign Countess of Montbéliard from 1397 until 1444.
She was the daughter of Henry of Orbe( died 1396), and the heiress of her grandfather, Stephen, Count of Montbéliard.
Her great- grandfather was Henry I of Montbéliard.
She married Eberhard IV, Count of Württemberg and governed the city of Montbéliard together with her husband.
It was because of this marriage that Montbéliard became a part of Württemberg.
At his death in 1419, she took over the regency for her son Ulrich.
In 1420 her daughter Anna( 1408 – 1471, Countess of Katzenelnbogen), married Count Philipp of Katzenelnbogen in Stuttgart, one of the most magnificent medieval weddings, with a dowry of.
Pepin III, Count of Vermandois
Pepin III, Count of Vermandois( also known as Pepin II, Count of Senlis; French:" Pépin")( c. 846 – 893) was a Frankish noble; the Count of Senlis and Count of Vermandois( 850 – 893); Lord of Valois( 877 – 886), and later Count of Valois( 886 – 893).
He was a son of Pepin, Count of Vermandois and Valois and thus a grandson of Bernard of Italy, who was himself a grandson of Charlemagne.
The brothers of Pepin III were Herbert I, Count of Vermandois and Bernard II, Count of Laon.
Pepin III of Vermandois's wife is unknown; their son was:
Theodoric II, Count of Montbéliard
Theodoric II (ca. 1080 – January 1163) was Count of Montbéliard (1105–1163).
He was the son of Theodoric I, Count of Montbéliard, Bar and Verdun, and Ermentrude of Burgundy.
He received first possessions of the family, but they were chased by his subjects because of his bad temper.
After the death of his father in 1105, he received the county of Montbéliard, becoming its count that same year.
He played an important role with emperors, participating in the Concordat of Worms.
He had also founded several monasteries.
His wife is unknown.
He had the following issue:
Reginald I, Count of Bar
Reginald I (also called "the One-eyed", Reinald I, Renaud I; – 10 March 1149) was Count of Bar (1105–1149).
Barrois, during the Middle Ages, was the territory of the counts and dukes of Bar, in the eastern part of present-day France, bordering Lorraine.
He was the son of Theodoric I, Count of Montbéliard and Ermentrude of Bourgogne, the daughter of William I, Count of Burgundy.
Reginald's first wife is unknown.
He later married Gisele de Vaudémont, widow of Rainard III, Count of Toul, and daughter of Gérard I, Count of Vaudémont, and his wife Heilwig von Egisheim.
Reginald and Gisele had eight children:
Reginald was one of the leaders of the Second Crusade in 1145.
He was drowned somewhere in the Mediterranean Sea on his return voyage to Europe on or before 10 March 1149.
Reginald I of Bar succeeded Theodoric II of Bar (r. 1092–1105) who was succeeded in turn by Reginald II of Bar (r. 1150–1170) in 1150.
Jeanne de Bourbon, Duchess of Bourbon
Jeanne de Bourbon( 1465 – 22 January 1511) was a daughter of John II, Count of Vendôme and Isabelle de Beauvau.
Through her daughter Madeleine, she was the maternal grandmother of French queen consort Catherine de' Medici and the great- grandmother of French Kings Francis II, Charles IX, and Henry III.
Petronilla of Lorraine
Petronilla of Lorraine( 1082 – 23 May 1144) was Countess of Holland by marriage to Floris II, Count of Holland, and regent of the County of Holland during the minority of her son Dirk VI in 1121- 1129.
She was a daughter of Theodoric II, Duke of Lorraine and Hedwig of Formbach.
Hubba bint Hulail
Hubba bint Hulail was the grandmother of Hashim ibn' Abd Manaf, thus the great- great- great- grandmother of the Islamic" Nabī"( Prophet) Muhammad ibn Abdullah.
Hannah Arnold
Hannah Arnold, also known as Hannah Waterman King, was the grandmother of Benedict Arnolds children.
Tjuyu
Tjuyu( sometimes transliterated as Thuya or Thuyu) was an Egyptian noblewoman and the mother of queen Tiye, and the wife of Yuya.
She is the grandmother of Akhenaten, and great grandmother of Tutankhamun.

Question: Who is Theodoric Ii, Count Of Montbéliard's paternal grandmother?
Answer: Sophie, Countess of Bar