Piracy is an act of robbery or criminal violence by ship or boat-borne attackers upon another ship or a coastal area, typically with the goal of stealing cargo and other valuable goods. Those who conduct acts of piracy are called pirates, vessels used for piracy are pirate ships. The earliest documented instances of piracy were in the 14th century BC, when the Sea Peoples, a group of ocean raiders, attacked the ships of the Aegean and Mediterranean civilisations. Narrow channels which funnel shipping into predictable routes have long created opportunities for piracy, as well as for privateering and commerce raiding.
Historic examples include the waters of Gibraltar, the Strait of Malacca, Madagascar, the Gulf of Aden, and the English Channel, whose geographic structures facilitated pirate attacks. The term piracy generally refers to maritime piracy, although the term has been generalized to refer to acts committed on land, in the air, on computer networks, and (in science fiction) outer space. Piracy usually excludes crimes committed by the perpetrator on their own vessel (e.g. theft), as well as privateering, which implies authorization by a state government.
Piracy or pirating is the name of a specific crime under customary international law and also the name of a number of crimes under the municipal law of a number of states. In the early 21st century, seaborne piracy against transport vessels remains a significant issue, with estimated worldwide losses of US$16 billion per year in 2004, particularly in the waters between the Red Sea and Indian Ocean, off the Somali coast, and also in the Strait of Malacca and Singapore. Modern-day pirates are armed with automatic weapons, such as assault rifles, and machine guns, grenades and rocket propelled grenades. They often use small motorboats to attack and board ships, a tactic that takes advantage of the small number of crew members on modern cargo vessels and transport ships. The international community is facing many challenges in bringing modern pirates to justice, as these attacks often occur in international waters.