 Entering a special election to the state Senate in 1841, he defeated two other candidates.He served in the state Senate until 1866, and he was the chairman of the judiciary committee for most of his time in the Senate.After South Carolina seceded in 1860, Moses offered his services to the state.