[C:1]1([CH2:7][CH2:8][CH2:9][N:10]2[CH:14]=[C:13]([C:15]([O:17]CC)=[O:16])[CH:12]=[N:11]2)[CH:6]=[CH:5][CH:4]=[CH:3][CH:2]=1.[OH-].[K+]>CO>[C:1]1([CH2:7][CH2:8][CH2:9][N:10]2[CH:14]=[C:13]([C:15]([OH:17])=[O:16])[CH:12]=[N:11]2)[CH:6]=[CH:5][CH:4]=[CH:3][CH:2]=1The ester was then dissolved in methanol (30 ml), and potassium hydroxide (1.5 g) added. The mixture was refluxed for 5 hours under nitrogen, then the solvent removed under reduced pressure. The residue was partitioned between methylene chloride and water. The aqueous layer was separated and acidified to pH 1-2 with 6N hydrochloric acid, then extracted with ethyl acetate. The combined organic layers were dried over magnesium sulfate, and the solvent removed under reduced pressure, to give 1-(3-phenylpropyl)pyrazole-4-carboxylic acid.