William IV of Saint Omer explained

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:

Sources