[CH3:1][O:2][C:3]1[CH:12]=[C:11]2[C:6]([C:7](=O)[CH:8]=[CH:9][NH:10]2)=[CH:5][C:4]=1[C:14]([O:16][CH3:17])=[O:15].S(Cl)([Cl:20])=O>CN(C=O)C>[Cl:20][C:7]1[C:6]2[C:11](=[CH:12][C:3]([O:2][CH3:1])=[C:4]([C:14]([O:16][CH3:17])=[O:15])[CH:5]=2)[N:10]=[CH:9][CH:8]=1A mixture of 7-methoxy-6-methoxycarbonyl-1,4-dihydroquinolin-4-one (5.4 g, 23 mmol), DMF (0.4 ml) and thionyl chloride (75 ml) was heated at reflux for 2 hours and then stirred at ambient temperature for a further 2 hours. The excess thionyl chloride was removed by evaporation and by azeotroping with toluene. The residue was suspended in methylene chloride and washed with saturated aqueous sodium hydrogen carbonate solution. The organic layer was separated, dried by passing through phase separating paper and the solvent was removed by evaporation. The residue was suspended in ether, collected by filtration, washed with hexane and dried to give 4-chloro-7-methoxy-6-methoxycarbonylquinoline (4.06 g, 70%) as an orange solid.