Complex sentence: In 1818, her husband became king of Sweden; but she remained in Paris, officially for health reasons, which was discussed in the papers in Paris and by her visitors.
Split into simpler sentences: In 1818, her husband became king of Sweden. But she remained in Paris, officially because of her health, which was discussed in the papers in Paris and by her visitors.