Quinoline and isoquinoline react with 2-(bromoacetyl)benzothiazole (1) in dry benzene to give the corresponding quinolinium and isoquinolinium salts 2 and 10 which undergo base-mediated [3+2] 1,3-dipolar cycloaddition with some acetylene and ethylene derivatives to give the corresponding benzothiazole-containing pyrrolo[1,2-a]quinoline and pyrrolo[2,1-a]isoquinoline derivatives.