Question: Who is the paternal grandfather of James Of Avesnes?

Knowledge 1: 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: [SEP] Knowledge 2: 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:
Knowledge 1: 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. [SEP] Knowledge 2: 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.
Knowledge 1: 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: [SEP] Knowledge 2: 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:

Answer: Walter I, Lord of Avesnes