an improved wet strength resin prepared from a polyamine and an epihalohydrin is obtained with improved yield if the polyamine is formed by the polymerization of a quaternary amine in the presence of an anion derived from an acid in which the final pka is less than 2 .