A biocompatible, electrically conductive biomaterial capable of earn carrying the electrical potential of a cardiac impulse and comprising (l) a conductive polymer such as polyaniline, polypyrrole or polythiophene, and (ii) a biocompatible component such as a polysaccharide, a protein, or a polypeptide, in particular chitosan or gelatin, is described. The material can take the form of a hydrogel, membrane, sheet or mesh. It can be used to restore or improve electrical impulse propagation across damaged tissue or scar region of the myocardium, in particular in the ti treatment of myocardial infarction and arrhythmia.