The N-methyl group of mesembrine (1) was split off via reaction of chloroformic acid p-nitrophenyl ester on the keto-protected alkaloid. O-Demethylation of 1 with borontribromide produced simultaneous ring closure between the carbonyl function and the aromatic part of the molecule.