Complex sentence: Schirm was elected as a Republican to the Fifty-seventh Congress (March 4,1901-March 3,1903), but was an unsuccessful candidate for reelection in 1902 to the Fifty-eighth Congress.
Split into simpler sentences: Schirm was elected as a Republican to the Fifty-seventh Congress (March 4,1901-March 3,1903). He was an unsuccessful candidate for reelection in 1902 to the Fifty-eighth Congress.