Rep. Ron Marshall announced in a post on X, formerly Twitter, that he was quitting the Legislature, effective Monday at noon.