Reaction SMILES: C(Cl)(Cl)Cl.CO.C(O)(=O)C.C([O:13][C:14]([C@@H:16]1[CH2:21][CH2:20][CH2:19][N:18]([CH2:22][CH2:23][O:24][CH2:25][CH:26]=[C:27]([C:34]2[CH:39]=[CH:38][CH:37]=[C:36]([O:40][CH3:41])[CH:35]=2)[C:28]2[CH:33]=[CH:32][CH:31]=[CH:30][CH:29]=2)[CH2:17]1)=[O:15])C.C(O)C.[OH-].[Na+]>O>[CH3:41][O:40][C:36]1[CH:35]=[C:34]([C:27]([C:28]2[CH:33]=[CH:32][CH:31]=[CH:30][CH:29]=2)=[CH:26][CH2:25][O:24][CH2:23][CH2:22][N:18]2[CH2:19][CH2:20][CH2:21][C@@H:16]([C:14]([OH:15])=[O:13])[CH2:17]2)[CH:39]=[CH:38][CH:37]=1
Reactant: CCOC(=O)[C@@H]1CCCN(CCOCC=C(c2ccccc2)c2cccc(OC)c2)C1
Agent: [Na+]
Agent: [OH-]
Solvent: CC(=O)O
Solvent: ClC(Cl)Cl
Solvent: CCO
Product: COc1cccc(C(=CCOCCN2CCC[C@@H](C(=O)O)C2)c2ccccc2)c1
Temperature: 25 °C
Reaction time: 3.5 h
Yield: 107.1 %

Procedure:
A mixture of 2-(3-(3-methoxyphenyl)-3-phenyl-2-propen-1-yloxy)ethanol (52 g, 0.18 mol) and triethylamine (46 g, 0.46 mol) in dry toluene (200 ml) kept under a nitrogen atmosphere was cooled below 10° C. and a solution of methanesulphonyl chloride (41.7 g, 0.36 mol) in dry toluene (200 ml) was added dropwise keeping the temperature below 10° C. When addition was complete the reaction mixture was stirred for 1 h at 5° C. and then for 0.5 h at approximately 15° C. Water was added (250 ml) and the mixture was stirred at room temperature for 0.5 h. The separated organic phase was washed with a 5% sodium bicarbonate solution, brine and dried over sodium sulphate. The mixture was filtered and the filtrate was reduced to approximately 500 ml in vacuo. Ethyl (R)-3-piperidinecarboxylate (57.2 g, 0.36 mol) and potassium carbonate (62.8 g, 0.46 mol) were added and the mixture was heated at reflux temperature for 48 h. The cooled reaction mixture was filtered and the solid was washed with toluene and ethyl acetate successively. The combined organic filtrates was evaporated in vacuo to an oily residue which was dissolved into ethyl acetate (250 ml). Water (150 ml) was added and pH was adjusted to 4 with 10% citric acid solution. The phases were separated and the organic phase was washed with water (150 ml). The combined aqueous phases was extracted with ethyl acetate (150 ml) and then discarded. The combined organic phases was washed with a 5% sodium bicarbonate solution, brine, dried over sodium sulphate and the solvent evaporated in vacuo. The residue was dissolved in toluene (150 ml) and a solution of tartaric acid (42 g) in water (120 ml) was added. The phases were separated and the organic phase was extracted with another solution of tartaric acid (12 g) in water (50 ml). The combined aqueous extracts was extracted with ethyl acetate (200 ml) which was discarded. Ethyl acetate (200 ml) was added to the acidic aqueous phase which was made alkaline with excess of a sodium bicarbonate solution. The separated organic phase was washed with brine and dried over sodium sulphate. The solvent was evaporated in vacuo to give 46.6 g (60% of (R)-N-(2-(3-(3-methoxyphenyl)-3-phenyl-2-propen-1-yloxy)ethyl)-3-piperidinecarboxylic acid ethyl ester as an oil. TLC: rf=0.36 (SiO2 ; chloroform/methanol/acetic acid=20:2:1). (R)-N-(2-(3-(3-Methoxyphenyl)-3-phenyl-2-propen-1-yloxy)ethyl)-3-piperidinecarboxylic acid ethyl ester (25 g, 59 mmol) was dissolved into 96% ethanol (275 ml) and a 12 N sodium hydroxide solution (22 ml) was added. The reaction mixture was stirred at room temperature for 3.5 h. The solvent was evaporated in vacuo and dichloromethane was added (250 ml). A concentrated hydrochloric acid solution (29.5 ml) was added with cooling of the reaction vessel in an ice-bath. The phases were separated and the organic phase was dried over sodium sulphate. The solvent was evaporated in vacuo to give a residue which was dissolved into water (250 ml). The aqueous solution was extracted with toluene (3×50 ml) and diethyl ether (50 ml). The organic extracts were discarded and from the aqueous phase water was evaporated in vacuo to give 25 g (98%) of the title compound as an oil. TLC: rf=0.23 (SiO2 ; chloroform/methanol/acetic acid=80:15:5).