Complex sentence: Görgey was not court-martialed, as were his generals, but kept in confinement at Klagenfurt, where he lived, chiefly employed in chemical work, until 1867, when he was pardoned and returned to Hungary.
Split into simpler sentences: Görgey was not court-martialed, as his generals were, but kept in confinement at Klagenfurt. He lived there, chiefly employed in chemical work, until 1867, when he was pardoned and returned to Hungary.