Abstract: The present invention describes polymers having high nitrogen content and high cationic charges derived from dicyanimide, dicyandiamide or guanidine and inorganic ammonium salts. The new compositions are useful in the pulp and paper industries as pitch control agents, as well as adjuvants such as in felt cleaner applications. The new materials are also useful in paper sizing, as retention aids, as antistatic agents, and as coagulants and flocculating agents.