Rainer or Reginar IV, Count of Hainault, succeeded to his father's title after a long struggle to assert his claims. When Rainer III was sent into exile Duke Bruno gave Hainault to Garmer and Renaud, and after Otto died Rainer and his brother Lambert attacked the two counts and slew them in battle. Whereupon Otto II took Hainault away from them, but Rainer and Lambert reappeared with new forces, but were defeated in 976, and it was not until much later that Rainer established himself as first proprietary Count of Hainault, and ruled in peace after establishing himself at Mons, capital of Hainault. He married Hedwige, daughter of Hugh Capet, King of France, and had Rainer V, and a daughter Beatrix married Count Rouci.