The legal system of Senegal is based on the French civil law system. Senegal has defined and criminalized piracy within its Merchant Marine Code at Articles 1, 536, 675, and 676. Many of the provisions are similar to those of Article 101 of the United Nations Convention on the Law of the Sea.