[CH3:1][O:2][C:3]1[CH:12]=[C:11]2[C:6]([C:7](O)=[C:8]([C:13]([O:15][CH2:16][CH3:17])=[O:14])[CH:9]=[N:10]2)=[CH:5][CH:4]=1.O=P(Cl)(Cl)[Cl:21]>>[CH3:1][O:2][C:3]1[CH:12]=[C:11]2[C:6]([C:7]([Cl:21])=[C:8]([C:13]([O:15][CH2:16][CH3:17])=[O:14])[CH:9]=[N:10]2)=[CH:5][CH:4]=17-Methoxy-4-hydroxy-3-ethoxycarbonylquinoline (Step A, 21 g, 0.08 mol) and POCl3 (100 mL) were mixed together and the mixture was heated at reflux for 6 h. The excess POCl3 was removed under vacuum. The solid residue was suspended in ice-cold 1N NaOH and the mixture was stirred for 15 min. The solid was filtered off, washed several times with water and then by a minimum amount of MeOH to give 7-methoxy-4-chloro-3-ethoxycarbonylquinoline as an off-white solid.