In the second half of the 17th century, pirates started following rules. These rules had many different names, including Chasse-Partie, Charter Party, Custom of the Coast, or Jamaica Discipline. Eventually, they became known as Articles of Agreement, or the pirate's code. These changed from one captain to another. Sometimes they were different from one voyage (journey) to another. These rules included punishments for rule breakers and said how much treasure each crew member would receive.