Thomas Gray represented Duplin County in the North Carolina Colonial Assembly from 1769 to 1774. During his tenure, he helped support a bill that granted pensions to disabled veterans and widows of the War of Regulation. He later served as a delegate for the North Carolina Provincial Congress. He died sometime after 1776.