Complex sentence: Randall was elected as a Whig to the Twenty-seventh Congress (March 4,1841-March 3,1843), but declined to be a candidate for renomination in 1842.
Split into simpler sentences: Randall was elected as a Whig to the Twenty-seventh Congress (March 4,1841-March 3,1843). He declined to be a candidate for renomination in 1842.