how did the search for religious freedom affect the founding of colonies in american?

Some of the colonists didn't like being forced to worship in a particular way and in a particular church. The came to the American colonies so that they could practice their religion without being banned or harrassed.