Originally Pirpiai acted as a merchant town for passing travelers. It is situated beside the original Sher Shah Suri's Highway, known in modern times as the Grand Trunk Road. The Mughals and their armies often used this route. Men from the village were recruited by the passing armies. Bahadur Baba was a famous soldier recruited at that time, an older man who fought fiercely and with great skill. When he died fighting for the Mughal armies, the Mughal Emperor sent him back to be buried in his native village of Pirpiai, Baba's last wish.