The present invention relates to quaternary ammonium-imidazolium copolymers having the following Formula (I): where the various groups are as defined in the specification. The present invention also relates to the polymer having the following Formula (II): where the various groups are as defined in the specification. The present invention also relates to the methods for their preparation, antimicrobial composition, antimicrobial gel containing these polymers of Formulae (I) and (II), and uses of these polymers in the treatment of a microbial infection or disease.