New York City has been a metropolitan municipality with a mayor-council form of government since its consolidation in 1898.