At the invitation of Hindu king Kumar Bhaskar Varman, he went east to the ancient city of Pragjyotishpura in the kingdom of Kamarupa after crossing the Karatoya and spent three months in the region. Before going to Kamarupa he visited Sylhet, what is now a modern city of Bangladesh. He gives a detailed account of the culture and people of Sylhet. Later, the king escorted Xuanzang back to the Kannauj at the request of the king Harshavardhana, who was an ally of Kumar Bhaskar Varman, to attend a great Buddhist Assembly there which was attended by both of the kings as well as several other kings from neighboring kingdoms, Buddhist monks, Brahmans, and Jains. King Harsha invited Xuanjang to Kumbh Mela in Prayag where he witnessed king Harsha's generous distribution of gifts to the poor.