On the death of his father, Cooper abandoned the practice of law and engaged in the development of coal properties in West Virginia. He was a delegate to the Republican National Convention in 1912 and elected as a Republican to the Sixty-fourth and Sixty-fifth Congresses (March 4, 1915 – March 3, 1919). He was unsuccessful candidate for reelection in 1918 to the Sixty-sixth Congress. After leaving Congress, he again engaged in the production of coal in Mercer and McDowell Counties, West Virginia and served as a director in several coal companies. He died in Bluefield, West Virginia in 1928 and was buried in Hollywood Cemetery, Richmond, Virginia.