In 1841, Thomas was elected Governor of Maryland, defeating challenger William Cost Johnson by a margin of 600 votes.
As governor, Thomas inherited a major state deficit that he would not resolve in his tenure.