Condensation of 4-nitrobenzaldehyde (I) with N-methyl acetoacetamide (II) in the presence of piperidine acetate gave benzylideneacetoacetamide (III). This was further condensed with 2-cyanoethyl 3-amino-2-butenoate (IV) to provide dihydropyridine (V), which was resolved into the enantiomers using chiral HPLC. Then, basic hydrolysis of the cyanoethyl ester from the appropriate enantiomer of (V) yielded carboxylic acid (VI). The aminopropyl piperidine (X) was obtained by esterification of 4-phenyl-4-piperidinecarboxylic acid (VII) with MeOH and H2SO4, followed by alkylation of piperidine (VIII) with 3-bromopropylamine (IX). Finally, amine (X) was coupled to acid (VI) by means of EDC and DMAP to furnish the target compound.