Abstract A variety of N-vinyl and N-aryl amides were converted to the corresponding pyridine and quinoline derivatives, respectively. Amide activation and nucleophilic addition of copper (I)(trimethylsilyl) acetylide efficiently provided the desired alkynyl imines. Ruthenium- catalyzed protodesilylation and cycloisomerization of these imines gave the corresponding azaheterocycles.