Complex sentence: He was held a prisoner of war until the fall of the empire, and then joined Louis XVIII, to whom he remained faithful in the Hundred Days.
Split into simpler sentences: He was held a prisoner of war until the fall of the empire. Then he joined Louis XVIII, to whom he remained faithful during the Hundred Days.