 He was Sheriff of New York County from 1887 to 1888.He was Mayor of New York City from 1889 to 1892, appointing Croker as New York City Chamberlain in 1889.His administrative accomplishments included the reorganization of city administration and the initial stages of placing the city's electrical system underground.