Davenport was elected as an Adams candidate to the Twentieth Congress (March 4, 1827 – March 3, 1829). He was an unsuccessful candidate for reelection in 1828 to the Twenty-first Congress. Davenport was twice elected by the legislature as judge of the Monroe judicial circuit.
