What role in religion play in the founding of English colonies?

In some cases the colony was established because of discrimination against the religion. The Pilgrims and Quakers are examples of colonies established because of an religion.