[Br:1][C:2]1[CH:3]=[C:4]([Cl:10])[C:5]([NH:8][NH2:9])=[N:6][CH:7]=1.C(O)C.C(O[CH:17]=[C:18]([C:24]([CH3:26])=O)[C:19]([O:21][CH2:22][CH3:23])=[O:20])C>O.Cl>[CH2:22]([O:21][C:19]([C:18]1[CH:17]=[N:9][N:8]([C:5]2[C:4]([Cl:10])=[CH:3][C:2]([Br:1])=[CH:7][N:6]=2)[C:24]=1[CH3:26])=[O:20])[CH3:23]To a suspension of (5-bromo-3-chloropyridin-2-yl)hydrazine (14.78 g) in water (15 ml) and concentrated hydrochloric acid (15 ml), was added an ethanol solution (30 ml) of ethyl 2-(ethoxymethylene)acetoacetate (30 ml), prepared according to a method described in J. Chem. Soc. Perkin trans. I, 1875 (1988), and the mixture was stirred at 100° C. for 1.5 hours. The reaction solution was cooled to room temperature, water (100 ml) was added and extracted with ethyl acetate three times. The organic layer was dried over anhydrous sodium sulfate and concentrated in vacuo. n-Hexane (150 ml) was added, and ethyl acetate was further added little by little at 80° C. to completely dissolve the residue. The solution was cooled to room temperature and the precipitated solid was filtered. The filtrate was concentrated and a similar handling was repeated four times to give 1-(5-bromo-3-chloropyridin-2-yl)-5-methyl-1H-pyrazole-4-carboxylic acid ethyl ester (15.93 g) as a pale yellow solid.