Synthesis of phenazine derivatives for use as precursors to electrochemically generated bases.