The preparation of benzylisoquinolines, isopavines, and aporphines was performed by the photoamination of stilbene, p-methoxystilbene, and phenanthrene with amino alcohols, aminoacetal, allylamine in the presence of dicyanobenzene followed by the cyclization with BF3 or CF3SO3H.