The Mayflower Compact was:

Athe first written constitution of Massachusetts
Bthe charter of Rhode Island

C.an agreement to obey all laws made by the Pilgrim government

Da treaty signed with the Indians