[CH3:1][O:2][C:3]([C:5]1[CH:6]=[N:7][N:8]([C:10]2[CH:15]=[CH:14][C:13](N)=[CH:12][CH:11]=2)[CH:9]=1)=[O:4].C(=O)([O-])[O-].[K+].[K+].[I-].[Na+].Br[CH2:26][CH2:27][CH2:28][CH2:29][CH2:30]Br.C[N:33](C)C=O>O>[CH3:1][O:2][C:3]([C:5]1[CH:6]=[N:7][N:8]([C:10]2[CH:15]=[CH:14][CH:13]=[CH:12][C:11]=2[CH:28]2[CH2:29][CH2:30][NH:33][CH2:26][CH2:27]2)[CH:9]=1)=[O:4]A solution of 1-(4-aminophenyl)-1H-pyrazol-4-carboxylic acid methyl ester (3.0 g) in N,N-dimethylformamide (30 ml) was treated with potassium carbonate (5.72 g), sodium iodide (4.14 g) and 1,5-dibromopentane, and the mixture was stirred for 20 hours at room temperature and 6 hours at 80° C., during which period additional N,N-dimethylformamide (20 ml), 1.5-dibromopentane (1.14 g) and potassium carbonate (0.95 g) were added. The reaction mixture was cooled to room temperature and poured into water. The precipitate was collected by filtration, dried over under reduced pressure. The residue was purified by silica gel chromatography (dichloromethane elution) to give 1-(4-piperidylphenyl)-1H-pyrazol-4-carboxylic acid methyl ester (1.34 g).