 He was district attorney of Mercer County, Pennsylvania, from 1906 to 1909.He was a trustee of Westminster College.Cochran was elected as a Republican to the Seventieth and to the three succeeding Congresses.