P(Cl)(Cl)([Cl:3])=O.[CH3:6][O:7][C:8]1[CH:13]=[CH:12][C:11]([NH:14][CH:15]=[C:16]([C:22](OCC)=O)[C:17]([O:19][CH2:20][CH3:21])=[O:18])=[CH:10][CH:9]=1>>[Cl:3][C:22]1[C:10]2[C:11](=[CH:12][CH:13]=[C:8]([O:7][CH3:6])[CH:9]=2)[N:14]=[CH:15][C:16]=1[C:17]([O:19][CH2:20][CH3:21])=[O:18]132 g of phosphoryl chloride are added, at 25° C., to 50 g of diethyl 2-[(4-methoxyphenylamino)methylene]malonate. The reaction medium is stirred for 15 minutes at this temperature, heated to 95-100° C. over 45 minutes, and then kept at this temperature for 4 hours. The excess phosphoryl chloride is then removed by heating at 125° C. for approximately 2 hours. The mixture is then cooled to 25° C. and 125 ml of dichloromethane are added. The medium is then stirred at 25° C. for 1 hour, and then run into 900 ml of water, over 30 minutes, while maintaining the temperature below 30° C. The pH is then adjusted to 7.5-8 by adding 172 g of a 47% sodium hydroxide solution, while maintaining the temperature at 20-25° C. The 2 phases are separated and the aqueous phase is extracted with dichloromethane. The organic phases are pooled and washed with water. The dichloromethane phase is half-concentrated and 190 ml of ethanol are added. The concentration is continued until the temperature of the reaction mass reaches 82° C. and the vapor temperature reaches 78° C. The reaction mass is cooled to 0-5° C. and then kept at this temperature for 2 hours. The precipitate is filtered off, washed with cold ethanol, and then dried at 50° C. under reduced pressure. 27.7 g (61%) of 4-chloro-3-ethoxycarbonyl-6-methoxyquinoline are obtained in the form of a yellow solid which melts at 93.7-95.7° C.