How did New York State become a State.?