sentences:  In 1838, he was elected as a Whig Representative from Georgia to the 26th United States Congress and served one term in that seat from March 4, 1839 until March 3, 1841, as he lost his bid for reelection in 1840.He returned to the U.S. Congress in 1842 after winning election as a Democrat to fill the remainder of the term of William Crosby Dawson, who had resigned in 1841 to run for the Governor of Georgia.Cooper was reelected to that congressional seat in the general election in 1842; however, he resigned in 1843 to run an unsuccessful candidacy for Governor.