By cyclization of 1-oxo-6-methoxy-9-(beta-dimethylaminoethyl)-1,2,3,4-tetrahydro-beta-carboline (I) by means of refluxing phosphorous oxychloride, followed by a treatment with aqueous ammonia. (1,2)