N-substituted monocyclic, tricyclic, and pentacyclic-pyridinium salts were prepared by the interaction of pyrylium salts with variable amines. The N-substituted pyridinium obtained salts were reacted with piperidine by nucleophilic substitution to give N-substituted-piperidines.