Development of the intramolecular Prins cyclization/Schmidt reaction for the construction of the azaspiro[4,4]nonane: application to the formal synthesis of (±)-stemonamine.