incorporated by act of the legislature of the state of New York