A crosslinked polymer obtained by allowing a polyfunctional electrophilic
reagent to react on a nitrogen-containing polymer, an electrolyte
containing the crosslinked polymer, and a photo-electrochemical cell
having an electrically conductive substrate, a semiconductor layer, an
electrolyte layer containing the electrolyte, and a counter electrode.
The cell is excellent in photoelectric characteristics and durability.