On February 25 1881, Phoenix became an incorporated city. At that time it had about 2,500 people. Phoenix held its first city election on May 3 1881. Judge John T. Alsap defeated James D. Monihon, 127 to 107, to become the city's first mayor. In early 1888, the city offices were moved into the new City Hall.