[C:1]([C:4]1[CH:5]=[N:6][N:7]([C:10]2[N:15]=[CH:14][CH:13]=[CH:12][N:11]=2)[C:8]=1[CH3:9])(=[O:3])[CH3:2].[ClH:16].[N:17]1[CH:22]=[CH:21][CH:20]=[CH:19][C:18]=1[N:23]1[CH2:28][CH2:27][NH:26][CH2:25][CH2:24]1.[CH2:29]=O>C(O)C>[ClH:16].[CH3:9][C:8]1[N:7]([C:10]2[N:15]=[CH:14][CH:13]=[CH:12][N:11]=2)[N:6]=[CH:5][C:4]=1[C:1](=[O:3])[CH2:2][CH2:29][N:26]1[CH2:25][CH2:24][N:23]([C:18]2[CH:19]=[CH:20][CH:21]=[CH:22][N:17]=2)[CH2:28][CH2:27]1606 mg of 4-acetyl-1-(2-pyrimidinyl)-5-methylpyrazole was dissolved in 60 ml of ethanol and 490 mg of 2-pyridylpiperazine hydrochloride and 270 mg of paraformaldehyde were added thereto. The obtained mixture was heated under reflux for 24 hours. Further, 100 mg of paraformaldehyde was added and the obtained mixture was heated under reflux for 60 hours. Then the ethanol was almost halved by evaporation and the precipitate was filtered. To the precipitate was added chloroform. Next, it was washed with a saturated aqueous solution of sodium hydrogencarbonate and a saturated aqueous solution of sodium chloride, and dried over anhydrous sodium sulfate followed by evaporation. The residue was purified by silica gel column chromatography (silica gel 50 g, chloroform:methanol=50:1-40:1). Then the obtained product was converted into hydrochloride by adding 1N hydrochloric acid and recrystallized from ethanol to thereby give 300 mg of the title compound.