Career
Born in Southampton County, Virginia, Gray pursued an academic course. Gray was elected as a Democratic-Republican to the Sixteenth Congress to fill the vacancy caused by the resignation of James Johnson and served from August 28, 1820, to March 3, 1821. He was an unsuccessful candidate in 1820 for reelection to the Seventeenth Congress.
He died May 18, 1823.