C([O-])(=O)C.[NH4+:5].[CH3:6][O:7][C:8](=[O:29])[CH2:9][CH2:10][CH2:11][CH2:12][CH2:13][CH2:14][C:15](=O)[NH:16][CH2:17][C:18]([C:20]1[CH:25]=[CH:24][CH:23]=[CH:22][C:21]=1[O:26][CH3:27])=O>C(O)(=O)C>[CH3:6][O:7][C:8](=[O:29])[CH2:9][CH2:10][CH2:11][CH2:12][CH2:13][CH2:14][C:15]1[NH:5][C:18]([C:20]2[CH:25]=[CH:24][CH:23]=[CH:22][C:21]=2[O:26][CH3:27])=[CH:17][N:16]=1Heat a mixture of ammonium acetate (16.5 g, 214 mmol) and 7-[2-(2-methoxyphenyl)-2-oxoethylcarbamoyl]heptanoic acid methyl ester (14.2 g, 42.3 mmol) in acetic acid (300 mL) at reflux under nitrogen for 15 hours. Remove the solvent under reduced pressure. Dilute the residue in ethyl acetate (500 mL) and adjust to pH 8 with saturated aqueous sodium bicarbonate solution. Extract the aqueous layer with additional. ethyl acetate (200 mL) and dry the combined organic extracts over sodium sulfate and remove the solvent under reduced pressure. Purify the residue by flash column chromatography on silica gel, eluting with ethyl acetate, to afford 7-[5-(2-methoxyphenyl)-1H-imidazol-2-yl]heptanoic acid methyl ester (5.86 g, 44%): APCI mass spectrum m/z 317 [C18H24N2O3+H]+.