Almost everyone has ridden a cogwheel train at some point in their life. However, few know its origin and that the author of the first cog railway in Europe is the inventive Swiss of French origin, Niklaus Riggenbach. His path to the railroad was full of coincidences and fortunate decisions.