The mastermind behind the Kakori train dacoity was Ramprasad Bismil.