An efficient method for the construction of simple indolizidine and quinolizidine derivatives on solid support has been developed. An intramolecular tandem Michael reaction initiated by the nucleophilic attack of a suitably placed amino group on the tethered Wittig condensation products between 4- or 5-aminoaldehydes attached to a trityl chloride resin and 4-[(4-methylphenyl)sulfonyl]-1-(triphenylphosphoranylidene)-2-b utanon e is the key step.