Complex sentence: Louis I was forced to flee to France, while Artevelde served as captain general of Ghent from that time until his death.
Split into simpler sentences: Louis I was forced to flee to France. He served as captain general of Ghent from that time until his death.