In 1835, Rayner was a delegate to the state Constitutional Convention; he served terms in the North Carolina House of Commons in 1835 and 1836 before being elected to the U.S. Congress in 1838. He served three terms as a Whig, in the 26th, 27th, and 28th Congresses (March 4, 1839 - March 3, 1845).
Rayner did not run for a fourth term in 1844, but returned to the State House in 1846, 1848, and 1850, and was elected to the North Carolina Senate in 1854.
In 1871 Rayner was appointed by President Grant as one of the court commissioners to settle the Alabama Claims. From 1877 to 1884 he was Solicitor of the United States Treasury. Rayner died in Washington, DC on March 4, 1884 and is buried in Raleigh, North Carolina.
George F. Talbot
|Solicitor of the United States Treasury
Henry S. Neal