In , Stevens entered politics and was elected to the first of six consecutive one-year terms as president of the Borough Council of Gettysburg. He became deeply involved in the Anti-Mason movement, which also placed him in opposition to the popular Jacksonian Democrats.