How New York Became a State?

All of the 13 colonies became states by a pain painstakingly long process of debate. But the single event that made New York a state is when the signed the deceleration of Independence.