We figured it was a good time to look back on how Somali pirates disrupted world shipping a few years ago, and how they almost disappeared.

Piracy in the Western Indian Ocean had an economic cost of $7 billion in 2010, according to non-profit Oceans Beyond Piracy. By 2015, that number had fallen to $1.3 billion thanks to countermeasures including the rise of naval patrols and industry recommendations to go faster, follow certain routes, and post armed guards when passing through the danger zone.

The following maps from the International Maritime Bureau show piracy incidents around the world during the rise, fall, and potential resurgence of Somali piracy.