Complex sentence: Williams was elected as a Democrat to the Fifty-second Congress (March 4,1891--March 3,1893) but lost a bid for reelection in 1892 to the Fifty-third Congress.
Split into simpler sentences: Williams was elected as a Democrat to the Fifty-second Congress (March 4,1891--March 3,1893). He was an unsuccessful candidate for reelection in 1892 to the Fifty-third Congress.