The Soviet invasion helped to unify opponents of the regime ( to some extent ) , but most importantly it brought massive foreign assistance to an insurgency that would otherwise have received relatively little attention .