[F:1][C:2]1[C:10]([CH3:11])=[CH:9][C:5]([C:6]([OH:8])=[O:7])=[C:4]([N+:12]([O-:14])=[O:13])[CH:3]=1.O=S(Cl)Cl.[CH3:19]O>>[F:1][C:2]1[C:10]([CH3:11])=[CH:9][C:5]([C:6]([O:8][CH3:19])=[O:7])=[C:4]([N+:12]([O-:14])=[O:13])[CH:3]=1To a solution of the crude 4-fluoro-5-methyl-2-nitrobenzoic acid (5 g) in MeOH (50 mL) was slowly added SOCl2 (3.5 mL, 48 mmol) dropwise and the resulting mixture was refluxed overnight. Then the solvent was removed to give crude methyl 4-fluoro-5-methyl-2-nitrobenzoate (5 g) as a white solid. It was used in the next step without further purification.