as to what created the piracy problem in the first place...
Jeremy Scahill of the Huffington Post had this to say
Take this fact: Over $300 million worth of tuna, shrimp, and lobster are "being stolen every year by illegal trawlers" off Somalia's coast, forcing the fishing industry there into a state of virtual non-existence.
But it isn't just the theft of seafood. Nuclear dumping has polluted the environment. "In 1991, the government of Somalia collapsed," wrote Johann Hari in The Independent. "Its nine million people have been teetering on starvation ever since - and the ugliest forces in the Western world have seen this as a great opportunity to steal the country's food supply and dump our nuclear waste in their seas."
According to Hari:
As soon as the [Somali] government was gone, mysterious European ships started appearing off the coast of Somalia, dumping vast barrels into the ocean. The coastal population began to sicken. At first they suffered strange rashes, nausea and malformed babies. Then, after the 2005 tsunami, hundreds of the dumped and leaking barrels washed up on shore. People began to suffer from radiation sickness, and more than 300 died.
This is the context in which the "pirates" have emerged. Somalian fishermen took speedboats to try to dissuade the dumpers and trawlers, or at least levy a "tax" on them. They call themselves the Volunteer Coastguard of Somalia - and ordinary Somalis agree. The independent Somalian news site WardheerNews found 70 per cent "strongly supported the piracy as a form of national defence."