[CH3:1][O:2][C:3]1[CH:11]=[C:10]([NH2:12])[C:9]([Cl:13])=[CH:8][C:4]=1[C:5]([OH:7])=[O:6].Cl.[CH3:15]O>>[CH3:1][O:2][C:3]1[CH:11]=[C:10]([NH2:12])[C:9]([Cl:13])=[CH:8][C:4]=1[C:5]([O:7][CH3:15])=[O:6]To a solution of 50g of 2-methoxy-4-amino-5-chlorobenzoic acid in 500 ml of methanol is added HCl gas until all the material dissolves. Stirring is continued overnight, the solvent removed, ether added, filtered, dried over magnesium sulfate and evaporated to dryness to obtain methyl 2-methoxy-4-amino-5-chlorobenzoate which is used directly in the next step.