A stereoselective synthesis of trans-1,2,3,6-tetrahydropyridines 8 is described. This synthesis proceeds via intramolecular Mistunobu reactions of 1,5-syn-(Z)-amino alcohols 7, which were prepared by a highly diastereo- and enantioselective double-allylboration reaction of aldehyde 5 and silylimine 6. The chiral bifunctional γ-borylallylborane 9E was generated in situ by hydroboration of allene 3 with (diisopinocampheyl)borane 4. This strategy was applied to the total synthesis of andrachcine 1, thus establishing with certainty the absolute and relative configuration of the natural product.