What role did religion play in the development in New York colony?

Of all the places in colonial America, perhaps the most tolerant one was New York and New York City. With that said, New York attracted more immigrants and they added to the development of New York.