[Br:1][CH:2]([CH2:6][CH2:7][CH2:8][CH2:9][CH2:10][C:11]1[CH:16]=[CH:15][C:14]([Cl:17])=[CH:13][CH:12]=1)[C:3]([OH:5])=[O:4].CO.[N+](=C)=[N-].[CH3:23][CH2:24]OCC>>[Br:1][CH:2]([CH2:6][CH2:7][CH2:8][CH2:9][CH2:10][C:11]1[CH:12]=[CH:13][C:14]([Cl:17])=[CH:15][CH:16]=1)[C:3]([O:5][CH2:23][CH3:24])=[O:4]To a solution of 31.0 g (0.097 mol) of 2-bromo-7-(4-chlorophenyl)heptanoic acid in 250 ml of absolute ether which contains 0.5 ml of methanol, a solution of about 0.16 mol of diazomethane in 300 ml of absolute ether is added drop by drop, with stirring, at room temperature, until the evolution of nitrogen ceases. Then the reaction mixture is concentrated by evaporation and the concentrate is chromatographed with toluene on silica gel. 18.1 g (56% of theory) is obtained of ethyl 2-bromo-7-(4-chlorophenyl)heptanoate, a colorless oil.