New york constitution
Article XIII: public officers
Section 13

(c) The city of New York is hereby vested with power from time to time to abolish by local law, as defined by the legislature, the office of any county officer within the city other than judges, clerks of counties and district attorneys, and to assign any or all functions of such officers to city officers, courts or clerks of counties, and to prescribe the powers, duties, qualifications, number, mode of selection and removal, terms of office and compensation of the persons holding such offices and the employees therein, and to assign to city officers any powers or duties of clerks of counties not assigned by this constitution. The legislature shall not pass any law affecting any such matters in relation to such offices within the city of New York except on message from the governor declaring that an emergency exists and the concurrent action of two-thirds of the members of each house, except that existing laws regarding each such office shall continue in force, and may be amended or repealed by the legislature as heretofore, until the power herein granted to the city has been exercised with respect to that office. The provisions of article nine shall not prevent the legislature from passing general or special laws prescribing or affecting powers and duties of such city officers or such courts or clerks to whom or which functions of such county officers shall have been so assigned, in so far as such powers or duties embrace subjects not relating to property, affairs or government of such city.