 He was a regent of the University of the State of New York from 1796 to 1820.James Cochran was elected as a Federalist to the Fifth Congress, March 4, 1797 to March 3, 1799, succeeding Judge William Cooper, father of James Fenimore Cooper, the author.He was a member of the New York State Senate from 1814 to 1818.