 Born in Williamsburg, Virginia, Coke pursued in preparatory studies as a young man.He graduated from the College of William and Mary, studied law and was admitted to the bar, commencing practice in Gloucester County, Virginia.He was elected a Jacksonian to the United States House of Representatives in 1828, serving from 1829 to 1833.