Keep in mind that many (all) roads lead to Rome.

The emergence of a smart & charismatic politician, an effective domestic intelligence service, an enlargement of the police, a change in economic structure and military action can all lead to the end of an insurgency.