Asymmetric Pd(0) catalyzed allylic amination followed by a Ru catalyzed RCM–ROM sequence converted an easily accessible racemic cyclopentenol 2 to the functionalized tetrahydropyridine 9 which can be used for the asymmetrical synthesis of indolizidine 13.