The present invention provides a polymer having antimicrobial and/or antifouling (protein-repellent) properties, a monomer that can be used in a method of producing the polymer of the invention, and a use of the polymer of the invention, including a method for coating the surface of a material, substrate or product with the polymer of the invention, as well as to products comprising the polymer of the invention and/or a coating comprising the polymer of the invention.