Demissidine and solanidine, two steroidal alkaloids, are synthesized in eight steps from tigogenin acetate and diosgenin acetate, respectively, which involve the replacement of three C-O bonds with C-N bonds. Key transformations include a cascade ring-switching process of furostan-26-acid, an epimerization of C25, an intramolecular Schmidt reaction, and an imine reduction/intramolecular aminolysis process.