They become an insurgency when they try to replace the existing government as that which exercises authority over them, and use violent means to secure that policy.