What is Mayflower Compact?

The Mayflower Compact was the first official document that governed the people in Plymouth Colony. It was signed November 11, 1620. It mainly established that the colonists had freedom of religion.