Condensation of 1-benzyl-3-hydroxy-1H-pyrazole-5-carboxylic acid methyl ester (I) with 3-(dimethylamino)-1-propanol (II) by means of 1,1'-(azodicarbonyl)dipiperidine and tributylphosphine under Mitsunobu conditions afforded the dimethylaminopropyl ether (III). After basic hydrolysis of the methyl ester group of (III), the resultant carboxylic acid (IV) was coupled with 4-methoxyaniline (V) using HATU to furnish the title amide.