The pilgrims did not necessarily have to make the Mayflower Compact, but decided to make it to have some type of order in the desolate land they were entering. The Mayflower compact allowed for self...
When the Pilgrims landed in Plymouth they wrote to Mayflower Compact ( it was written on the ship they were on named the Mayflower) as a means to govern their new colony.