Abd al-Muttalib
Abd al- Muttalib Shaybah ibn Hashim( c. 497 – 578) was the grandfather of Islamic prophet Muhammad.
James I, Count of La Marche
James I of Bourbon( 1319 – 6 April 1362), was the son of Louis I, Duke of Bourbon and Mary of Avesnes.
He was Count of Ponthieu from 1351 to 1360, and Count of La Marche from 1341 to his death.
James II of Avesnes
James II of Avesnes( d. ca. 1205) was a knight of the Fourth Crusade.
He was probably the son of James of Avesnes of Hainaut, who was a leading protagonist of the Third Crusade.
After the conquest of Constantinople James was one of the followers of Boniface of Montferrat, who had become king of Thessalonica.
As part of the forces of Boniface in Greece he fought against Leo Sgouros, a Greek local ruler who had become independent.
James received of Boniface in the spring of 1205 the island of Euboea( Triarchy of Negroponte) as a fief.
James died around 1205 and Euboea was divided into three fiefs for Boniface.
William IV of Saint Omer
William IV of Saint Omer was the castellan of Saint- Omer from ca. 1171 until his death, as well as Lord of Beaurain and Fauquembergues.
The date of his birth is unknown; he is mentioned for the first time in 1157, when his uncle Walter was castellan.
William was the son of Walter's successor, William III of Saint Omer, and of a lady named Mathilda.
William IV is first attested as castellan in 1178, but according to Arthur Giry he may have succeeded his father already by 1171, as the genealogies of Baldwin of Avesnes imply that he was already castellan when married his wife, Ida of Avesnes( a sister of the Crusader James of Avesnes), and the couple's eldest son, the future William V of Saint Omer, was already over 15 years old in 1186.
William is attested in a series of documents and charters until 9 August 1190, but it appears that he then left for the Holy Land, where he died in 1191.
His wife, Ida of Avesnes, lived until sometime between 1205 and May 1211.
According to Baldwin of Avesnes, the couple had eleven children:
Walter II of Avesnes
Walter II of Avesnes( b. 1170 – d. 1244) was lord of Avesnes, Leuze, of Condé and Guise, and through his marriage to Margaret of Blois, he became Count of Blois and of Chartres.
He was the son of James of Avesnes, and Adèle, lady of Guise.
Walter fought alongside Ferdinand, Count of Flanders at the Battle of Bouvines in 1214, then left to fight in the Holy Land.
Taken prisoner, he was ransomed by the Knights Templar and helped construct the Pilgrim Castle, in 1218, donating 1,000" saracen bezants" towards its construction.
With the income from Guise lands, he began work on modernizing his castles.
He also built a castle Englancourt to control the road through the count of Hainaut.
Beatrice d'Avesnes
Beatrice d' Avesnes( died: 1321) was a daughter of Baldwin of Avesnes and his wife Felicitas of Coucy.
Baldwin was the son of Bouchard IV of Avesnes.
She married in 1265 Count Henry VI of Luxembourg and was the mother of:
Kaya Alp
Kaya Alp was, according to Ottoman tradition, the son of Kızıl Buğa and the father of Suleyman Shah, who was, in turn, the grandfather of Ertuğrul, and the great grandfather of the Ottoman Empire founder, Osman I.
James of Avesnes
James (also "Jacques" or "Jacob"; 1152 – 7 September 1191) was a son of Nicholas d'Oisy, Lord of Avesnes and Matilda de la Roche.
He was the lord of Avesnes, Condé, and Leuze from 1171.
In November 1187, James joined the Third Crusade as leader of a detachment of French, Flemish, and Frisian crusaders arriving by ship on the Palestinian coast near Acre around 10 September 1189.
James and his men came as military reinforcements for the Siege of Acre.
At the Battle of Arsuf, James was thrown from his saddle and, after slaying fifteen enemy warriors, was himself cut down.
The next day, a search party of Hospitallers and Templars found his body on the battlefield.
It was taken back to Arsuf and buried there in a ceremony attended by Richard the Lionheart and Guy of Lusignan.
He married Adela (died 1185), daughter of Bouchard of Guise, and was the father of:
Nicholas d'Oisy, Lord of Avesnes
Nicholas d 'Oisy, Lord of Avesnes, nicknamed ("the Beautiful") , was a son of Walter I, Lord of Avesnes and his wife, Ada of Tournai.
He was Lord of Avesnes, Leuze and Condé.
He built castles in Landrechies and Condé.
Nicholas was married to Matilda de la Roche, the widow of Thierry de Walcourt.
She was the daughter of Henry I of la Roche (– 1126), Count of la Roche and warden of Stavelot and Malmedy and his wife, Matilda of Limburg.
Her paternal grandfather was Albert III, Count of Namur;
her maternal grandfather was Henry, Duke of Lower Lorraine.
They had the following children:
Louis II, Count of Blois
Louis II of Châtillon( d. 26 August 1346, battle of Crécy), son of Guy I, Count of Blois and Margaret of Valois, was count of Blois and lord of Avesnes 1342 – 1346.
In 1340 in Soissons, he married Jeanne of Avesnes, Countess of Soissons( d. 1350), daughter of John of Avesnes, Lord of Beaumont.
They had three children:
Louis was killed at the Battle of Crécy.

Question: Who is the paternal grandfather of James Of Avesnes?
Answer: Walter I, Lord of Avesnes