Complex sentence: He remained collector of New Orleans until 1868, when he was appointed to the United States Senate, when "reconstructed" Louisiana returned to the federal Union.
Split into simpler sentences: He remained collector of New Orleans until 1868, when he was appointed to the United States Senate. That year "reconstructed" Louisiana returned to the federal Union.