Interesting article over at Return of Kings about how Peru defeated their Shining Path guerillas, led by Abimael Guzman, with obvious applicability to the likes of ISIS:
But the government eventually learned counter-insurgency methods. These began before the election of Alberto Fujimori, but he definitely added impetus and urgency to them. In 1992, Guzman himself was captured and exhibited to the public in a cage. It was a stunning reversal for the Shining Path, and thereafter it gradually withered away.