Rapid and stereocontrolled synthesis of racemic and optically pure highly functionalized pyrrolizidine systems via rearrangement of 1,3-dipolar cycloadducts derived from 2-azetidinone-tethered azomethine ylides.