Complex sentence: Carlson had come in second in the primary to the more conservative Grunseth, and thus became the Republican nominee when Grunseth dropped out.
Split into simpler sentences: Carlson had come in second in the primary to the more conservative Grunseth. Thus Carlson became the Republican nominee when Grunseth dropped out.