Murphy was first elected mayor in November 2000. His election was a long shot against Ron Roberts, who had the support of the business community. He campaigned on providing "Leadership With 2020 Vision"—a promise to set forth a clear long term vision for the city and to provide the leadership to implement that vision. Murphy had previously served one term on the San Diego City Council representing the Seventh District. While elections for municipal offices in California are non-partisan, he is a registered Republican.