The condensation of 3-hydroxy-1-methylpyrrolidine (I) with 2-chloronicotinic acid (II) by means of NaH in DMSO gives sodium 2-(1-methylpyrrolidin-3-yloxy)pyridine-3-carboxylate (III), which is then cyclized by a treatment with dry HCl in chloroform followed by a reaction with triphenylphosphine and CCl4 yielding finally 2-(2-chloroethyl)-4-methyl-3,4-dihydropyrido[3,2-f]-1,4-oxazepin-5(2H)-one (IV). The reaction of (IV) with P2S5 and K2S in refluxing toluene affords the corresponding thione (V), which is finally treated with 40% aqueous dimethylamine in ethanol at 100 C in a pressure vessel, and with fumaric acid (VI) in methanol.