Only Guru Nanak was preaching and active during the period when the Lodi dynasty fell and Babur took over in 1526.