Some historians and scientists believe that this land is origin of Arya race. It is believed that about 300 BC, Khasa invaded Garhwal through Kashmir Nepal and Kuman. A conflict grew due to this invasion a conflict took place between these outsiders and natives. The natives for their protection built small forts called Garhi. Later on, Khasa defeated the native totally and captured the forts.
After Khasa, Kshatiya invaded this land and defeated Khasa accomplished their regime. They confined Garhwal of hundreds of Garhi in to fifty-two Garhi only. One kantura vashudev general of kshatriya established his regime on the northern border of garhwal and founded his capital in joshimath then Kartikeypur vashudev katyuri was the founder of katyura dynasty in Garhwal and they reign Garhwal over hundreds of years in this period of katyuri regime Aadi Sankaracharya visited garhwal and established Jyotrimath which is one of the four famous Peeths established by Aadi Sankaracharya. In Bharat varsh other these are Dwarika, Puri and Sringeri. He also reinstated idol of lord Badrinath in Badrinath, before this the idol of Badrinath was hidden in Narad-Kund by the fear of Budhas. After this ethicist of vaidic cult started to pilgrim Badrinath.
According to Pt. Harikrishna Raturi, king Bhanu pratap was the first ruler of Panwar dynasty in garhwal who founded chanpur-Garhi as his capital. This was is strongest Garh for the fifty-two garhs of garhwal.
The devastating earthquake of 8 September 1803 weakened the economic and administrative set-up of Garhwal state. Taking advantage of the situation, Gorkhas attacked Garhwal under the command of Amar Singh Thapa and Hastidal Chanturia. They established there reign over half of the Garhwal in 1804 up to 1815 this region remain under Gorkha rule.
Meanwhile the king of Panwar dynasty Raja Sudarshan Shah contacted east India Company and sought help. With the help of British he defected Gorkas and merged the