sentences:  On March 3, 1838, he was elected the solicitor general of the Ocmulgee circuit and served in that position until his resignation on October 3, 1840.Foster was elected to the Georgia House of Representatives in 1840 and the Georgia Senate from 1841 through 1843.He was re-elected to that latter body two additional times in 1851 and 1852.