Abstract: The present invention relates to an electrically conducting polymer, the water-insoluble polymer having essentially permanent self-doping properties, and the polynmer comprises:(a) electrically polymerized polyaniline in covalent combination with(b) an organic dopant having at least one sulfonic acid functional group. The electrically conducting polymer-dopant is preferred wherein the organic dopant is selected from benzenesulfonic acid, toluenesulfonic acid, benzenesulfonyl chloride, dodecylbenzenesulfonic acid, poly(vinylsulfonic) acid, trifluoromethanesulfonic acid, 1-butanesulfonic acid, modified NAFION, 2,3,5-trichlorobenzenesulfonic acid, vinylphenylsulfonic acid, or the alkali metal salts thereof. In another aspect, the present invention discloses a method to produce a water-insoluble polyaniline in which an aromatic organic dopant is covalently bonded to the polyaniline, which method comprises (a) electropolymerizing aniline in an aqueous solvent which contains the organic dopant.