When a crime occurs on water, the jurisdiction depends on how far it is from land. In international waters, more than 24 miles off the coast, the crime would fall under the laws of the country where the ship is registered. If a ship is at port when a crime occurs, it falls within that country's jurisdiction.