Gujranwala belonged to the Majha region of ancient Punjab. The village of Asarur has been identified as the location of Taki, an ancient town, visited by the Chinese pilgrim Hiuen Tsiang contains immense ruins of Buddhist origin. After the time of Tsiang little is known about Gujranwala til the Islamic conquests, by this time, however, Taki had fallen into oblivion while Lahore had become the capital of Punjab.
The contemporary village of Asarur has been identified as the site of the ancient city. From the beginning of the 7th century Rajput kingdoms dominated Eastern portions of Pakistan and northern India.The district flourished during Mughal rule, from the days of Akbar to those of Aurangzeb, wells were scattered over the whole country, and villages lay thickly dotted about the southern plateau, now a barren waste of grass land and scrub jungle.
Their remains may still be found in the wildest and most solitary reaches of the Bar. The Punjab region became predominantly Muslim due to missionary Sufi saints whose dargahs dot the landscape of Punjab region.