The invention is a composition of an inorganic-organic polymer composite and a method of making it. The inorganic portion of the fundamental polymer composite polymer repeat is a speciated inorganic heterocyclic compound, and the organic portion of the polymer repeat is a cyclic organic radical anion compound having at least two charged sites. The composition of the present invention is made by combining a cyclic organic radical anion compound with a speciated inorganic heterocyclic compound by a nucleophilic substitution thereby forming a polymer of an inorganic-organic composite. The cyclic organic radical anion compound is preferably generated electrochemically. The nucleophilic substitution is alternately carried out chemically or electrochemically. A preferred embodiment of the present invention includes performing the nucleophilic substitution at the cathode of an electrochemical cell.