Thompson resumed the practice of law, and served as city solicitor of Gloucester. He was an unsuccessful Democratic candidate for Governor of Massachusetts in 1880 and again in 1881, and served as judge of the Superior Court of Massachusetts from 1885 until his death in Gloucester on January 19, 1894. His interment was in Oak Grove Cemetery.[1]