Complex sentence: In 1325 attempts to capture Gent and Oudenaarde failed and the King of France, Charles IV of France intervened whereupon Louis was released from captivity in February 1326 and the "Peace of Arques" was sealed.
Split into simpler sentences: In 1325 attempts to capture Gent and Oudenaarde failed. The King of France, Charles IV of France intervened whereupon Louis was released from captivity in February 1326 and the "Peace of Arques" was sealed.