 Johnson was elected as a Democrat to the Twenty-ninth and Thirtieth Congresses (March 4, 1845 – March 3, 1849).He died in Bath, New Hampshire, September 2, 1887, and was interred at Bath Village Cemetery.In 1828, Johnson married Jane Hutchins of Bath.