The Mayflower Compact gave the Pilgrims their own charter, which they made as an agreement to pledge fealty to their king and also to make their own laws based on the majority. Their laws were based on Puritan ideas, as they had embarked on the journey in the first place for religious freedom.