Answer
Murphy served as mayor of Troy from 1875 to 1883, a total of eight years. During his tenure, he oversaw significant improvements to the city's infrastructure, including the construction of new schools, roads, and bridges. He also played a key role in the development of the city's park system and the establishment of a public library. Murphy's leadership helped to transform Troy into a thriving industrial and cultural center.