He received a good common-school education, entering the University of Glasgow, Scotland in 1782 and graduated in 1786.
He attended medical college for two years, before emigrating to the United States in July 1791 and settled in Frederick County, Virginia, where he taught school.