Decades later, when Jack Sparrow gives away his magical compass, the betrayed compass retaliates by releasing Salazar and his crew from the Devil's Triangle. He begins hunting pirate ships and destroys several ships under the command of Hector Barbossa. Barbossa, now in possession of the compass, agrees to lead Salazar to Jack in return for amnesty for his ships. Salazar corners Jack on an island, but he is unable to set foot on land due to his curse. Barbossa goes ashore, but double-crosses Salazar and flees with Jack to search for the Trident of Poseidon.