Hazard served three one-year terms in the Rhode Island House of Representatives, winning election as a state representative in 1851, 1854 and 1880.
In 1854, while serving in the state legislature, he made a speech criticizing the Stonington Railroad Company for charging discriminatory rates for both freight and passengers.