Complex sentence: General Hurlburt refused to recognize the civil government of Hahn, and so, Hahn ran for and was elected to the U.S. Senate in 1865.
Split into simpler sentences: General Hurlburt refused to recognize the civil government of Hahn. So, Hahn ran for and was elected to the U.S. Senate in 1865.