[CH3:1][O:2][C:3]1[CH:8]=[CH:7][CH:6]=[CH:5][C:4]=1[N:9]1[CH2:14][CH2:13][NH:12][CH2:11][CH2:10]1.Br[CH2:16][CH2:17][N:18]1[C:22](=[O:23])[C:21]2=[CH:24][CH:25]=[CH:26][CH:27]=[C:20]2[C:19]1=[O:28].C(=O)([O-])[O-].[K+].[K+]>C(#N)C.CN(C)C=O>[CH3:1][O:2][C:3]1[CH:8]=[CH:7][CH:6]=[CH:5][C:4]=1[N:9]1[CH2:14][CH2:13][N:12]([CH2:16][CH2:17][N:18]2[C:22](=[O:23])[C:21]3=[CH:24][CH:25]=[CH:26][CH:27]=[C:20]3[C:19]2=[O:28])[CH2:11][CH2:10]1A solution of 1-(2-methoxyphenyl)piperazine (41.2 mmol) in 100 mL of acetonitrile and 12 mL of dimethylformamide was combined with N-(2-bromoethyl)phthalimide (43.3 mmol) and potassium carbonate (61.8 mmol). The mixture was heated to reflux for 8 hours. After cooling, the reaction mixture was quenched with water, extracted with dichloromethane. The organic phase was washed with brine, water, and dried over magnesium sulfate. Filtration and evaporation of the solvents gave a yellow oily residue that was purified by flash chromatography using hexanes and ethyl acetate (1:1) to give 1-(2-methoxyphenyl)-4-[(2-phthalimido)ethyl]piperazine (8.56 g, 57%).