As
Northern India reverted to small republics and small monarchical states ruled by Gupta rulers after the fall of the prior
Gupta Empire, Harsha united the small republics from
Punjab to central India, and their representatives crowned him emperor at an assembly in April 606 giving him the title of
Maharajadhiraja. Harsha established an empire that brought all of northern India under his rule. Xuanzang describes the event thus: : "
Shiladityaraja (i.e., Harsha), filled with confidence, marched at the head of his troops to contend with this prince (i.e., Pulakeshin); but he was unable to prevail upon or subjugate him". In 648,
Tang Chinese emperor
Tang Taizong sent
Wang Xuance to India in response to emperor Harsha having sent an ambassador to China. However once in India, he discovered that Harsha had died and the new king Aluonashun (supposedly
Arunāsva) attacked Wang and his 30 mounted subordinates. This led to Wang Xuance escaping to Tibet and then mounting a joint expedition of over 7,000
Nepalese
mounted infantry and 1,200
Tibetan infantry and attacking Indian state on June 16 at the
Battle of Chabuheluo. The success of this attack won Xuance the prestigious title of the "Grand Master for the Closing Court." He also secured a reported Buddhist relic for China. 2,000 prisoners were taken from Magadha by the Nepali and Tibetan forces under Wang. Tibetan and Chinese writings document describe Wang Xuance's raid on India with Tibetan soldiers. Nepal had been subdued by the Tibetan King
Songtsen. The Indian pretender was among the captives. The war happened in 649. Taizong's grave had a statue of the Indian pretender. The pretender's name was recorded in Chinese records as "Na-fu-ti O-lo-na-shuen" (Dinafudi is probably a reference to
Tirabhukti). Xuanzang mentions that Harsha waged wars to bring "the Five Indias under allegiance" in six years. Based on this statement, historians such as
R.K. Mookerji and
C.V. Vaidya have dated Harsha conquests to 606–612 CE. However, it is now known that Harsha engaged in wars and conquests for several more years. Moreover, whether Xuanzang used the term "Five Indias" to describe Harsha's territory in a narrower or wider sense, his statement is hyperbole it cannot be used to make conclusions about Harsha's actual territory. While Harsha was the most powerful emperor of northern India, he did not rule the entire northern India. ==Religion and Religious Policy==