N.Y. County Law § 229
The board of supervisors shall perform the duties prescribed by the town law relating to the erection of new towns and the dissolution of towns.