 He was elected six times as a member of the Indiana House of Representatives from 1816 until 1821, and was speaker of the house during the 1820-1821 session.He was elected and served four terms in the Indiana Senate from 1821 until 1833, representing Jackson County.Graham was elected as a Whig to the Twenty-fifth Congress (March 4, 1837 – March 3, 1839).