 Large numbers of Pathans accompanied the armies of Mahmud of Ghazni, Muhammad of Ghor and Babur, and many of them obtained grants of land in the Punjab plains and founded Pathan colonies which still exist.Many Pathans were driven out of present-day Afghanistan and khyber Pakhtunkhwa due to devastated invading forces such as Genghis Khan and his Mongol armies, including internal feuds or famine, and have taken refuge in the plains east of the Indus River where the Mongols marked the line of their aggression.Mehmond Pathan Hoshiarpur were also in the army of Mahmud of Ghazni.