The reaction of 3-aminopyridinium salts (4) with polarized olefins (2a
,b, 3) in the presence of triethylamine yielded the corresponding 3-am
inopyridinium N-allylides (5). Thermolysis of 3-aminopyridinium N-ally
lides (5a-c,h-j,l-n) in refluxing xylene afforded the 1,5-dipolar cycl
ization products, 8-aminoindolizines (6) together with the back-donate
d 1,6-cyclization products, quinoliziniumides (7). In addition, thermo
lysis of N-allylides (5a-c,h-j,l-n) in refluxing AcOH gave quinolizini
umides (7).