How the World Overpowered Piracy in the Horn of Africa

What explains the end of piracy off the Horn of Africa?