The agreement written by the Pilgrims that provided for self-government was called the