[CH3:1][C:2]1[CH:3]=[CH:4][C:5]([C:12]2[CH:16]=[CH:15][NH:14][N:13]=2)=[C:6]([CH:11]=1)[C:7]([O:9][CH3:10])=[O:8].[H-].[Na+].[CH3:19]I>CN(C=O)C>[CH3:1][C:2]1[CH:3]=[CH:4][C:5]([C:12]2[CH:16]=[CH:15][N:14]([CH3:19])[N:13]=2)=[C:6]([CH:11]=1)[C:7]([O:9][CH3:10])=[O:8]To a solution of methyl 5-methyl-2-(1H-pyrazol-3-yl)benzoate (0.16 g, 0.744 mmol) in DMF (3 mL) at rt was added NaH (60%, 0.081 g, 2.02 mmol) under argon protection. The mixture was stirred atrt for 1 h, and then MeI (0.07 mL, 1.116 mmol) was added. The resulting mixture was stirred for another 1 h. The solvent was removed in vacuo. The crude was dissolved with EtOAc and washed with satd. NaHCO3, brine, and dried (MgSO4). The solvent was removed and the crude was purified by silica gel chromatography to obtain the faster eluting methyl 5-methyl-2-(1-methyl-1H-pyrazol-5-yl)benzoate as the minor product and the slower eluting methyl 5-methyl-2-(1-methyl-1H-pyrazol-3-yl)benzoate as the title compound and major product. ESI-MS (m/z): 231 [M+1]+.