The Mayflower Compact
When a group of English settlers, including Puritan Separatists and tradesmen-adventurers they called “Strangers”, blew off course from the Virginia Colony, they needed to find a way to create a unified society for their survival. They agreed to create an agreement to state their purpose and their intention to form a government by public consent. https://en.wikipedia.org/wiki/Mayflower_Compact