D
.... The pirates aren't this bold because they like to be, but because they have no other choice to sustain their lives. The ongoing civil war is preventing them to build up their country. From what I understand, their waters are overfished and polluted, so they can't live off fishing, nor can they live off farming. All they can do is capitalise on the fact that they're living along one of the world's busiest trade routes.
Like everywhere, the answer is removing the breeding grounds if you want to get rid of the problem for good.