After attaining admission to the bar, Martin joined the Whigs and served as Fayette County State's Attorney from 1841 to 1843.
Following his legal qualification, Martin became a member of the Whig party and held the position of Fayette County State's Attorney from 1841 to 1843.