 During this time, he supported Henry Clay's Compromise of 1850.Marshall was then appointed Minister to China from 1852 to 1854.Returning to Kentucky, he was elected on the American Party ticket to the Thirty-fourth and Thirty-fifth Congresses (1855–59).