[CH3:1][O:2][C:3]1[CH:8]=[CH:7][C:6]([NH:9][CH:10]=[C:11]([C:17](OCC)=O)[C:12]([O:14][CH2:15][CH3:16])=[O:13])=[CH:5][CH:4]=1.O=P(Cl)(Cl)[Cl:24]>>[Cl:24][C:17]1[C:5]2[C:6](=[CH:7][CH:8]=[C:3]([O:2][CH3:1])[CH:4]=2)[N:9]=[CH:10][C:11]=1[C:12]([O:14][CH2:15][CH3:16])=[O:13]Diethyl {[(4-methoxyphenyl)amino]methylene}malonate (63.5 g, 0.22 mol) was dissolved into POCl3 (300 mL, 3.0 mol), and the reaction mixture was heated at reflux for 16 h. After removal of solvent, toluene was added and the mixture was concentrated to remove remaining POCl3. The residue was diluted with DCM, washed with aqueous Na2CO3 and brine, dried over Na2SO4 and concentrated to give ethyl 4chloro-6methoxyquinoline-3-carboxylate (55.4 g, 96% yield) as a yellow solid which was used without further purification. LCMS: (FA) ES+ 266.1.