Enantioselective synthesis of (+)(R)- and (-)(S)-nicotine based on Ir-catalysed allylic amination.