Heteropolycyclic diquinolones; benzo[1,2-b:4,5-b']dithieno[2',3'-c':2 '',3 '' c '']-5,13-N,N'-dimethyldiquinoline-6,14-dione(9) and dithieno[3,2-b:2',3'-d]thienyl[2 '' ,3 ''-c:2 '',3 ''-c']-5,10-N,N-dimethyldiquinoline-6,9-dione (17) are prepared by twofold photochemical dehydrohalogenation reaction of corresponding benzodithiophene- and dithienothiophenedicarboxanilides; 3,7-dichloro-N,N'-dimethylbenzo [1,2-b;4,5-b']dithiophene-2,6-dicarboxanilide (8) and 3,5-dichloro-N,N'-dimethyldithieno[3,2-b:2',3'-d]thiophene-2,6-dicarboxanilide (16). The products of onefold photochemical dehydrohalogenation reaction, anilidoquinolones; 9-chloro-10-N'-methylanilidobenzo[1,2-b:4,5-b']dithieno[2,3-c']-5-N-methylquinolin-6-one (10) and 10-chloro-9-N'-methylanilidodithieno [3,2- b:2',3'-d] thienyl[2 '',3 ''-c']-5-N-methylquinolin-6-one (18) were also isolated to prove the mechanism of the reaction.