Lovering served as member of the
Massachusetts House of Representatives in 1872 and 1874. He was a member of the
Lynn, Massachusetts Board of Assessors in 1879 and 1880. Lovering served as the 18th
Mayor of Lynn in 1881 and 1882. He was elected as a
Democrat to the
Forty-eighth and
Forty-ninth Congresses (March 4, 1883 – March 3, 1887). He was an unsuccessful candidate for reelection in 1886 to the
Fiftieth Congress. Lovering was Chairmen of the Massachusetts Democratic State Convention of 1886 and the unsuccessful Democratic candidate for Governor of Massachusetts in 1887. In 1888, Lovering was appointed United States Marshal for Massachusetts by President
Cleveland, serving until the
Republicans returned to power in 1891. Lovering was Warden of the State prison 1891–1893, United States pension agent at Boston 1894–1898, Sealer of weights and measures for the city of
Boston, Massachusetts from 1902 to 1905, and Superintendent of the Chardon Street Soldiers' Home at Boston from 1905 to 1907. ==Death and Burial==