Thomas was born in Frederick County, Maryland, close to South Mountain, known as "Merryland tract", and attended St. John's College of Annapolis, Maryland.
Thomas was elected as a Jacksonian to the Twenty-second through Twenty-fourth Congresses and as a Democrat to the Twenty-fifth and Twenty-sixth Congresses, serving from March 4, 1831 until March 3, 1841).