Complex sentence: Farlee was elected as a Democrat to the Twenty-eighth Congress, serving in office from March 4,1843-March 3,1845, but was an unsuccessful candidate for reelection in 1844 to the Twenty-ninth Congress.
Split into simpler sentences: Farlee was elected as a Democrat to the Twenty-eighth Congress (March 4,1843-March 3,1845). He was an unsuccessful candidate for reelection in 1844 to the Twenty-ninth Congress.