The Shah dynasty was a ruling dynasty of the Kingdom of Nepal.
The former royal family of Nepal claims descent from the Parmar Rajput dynasty of the Narsinghgarh state in Malwa (Madhya Pradesh, India). Famous kings of the Malwa region included Raja Bhrathari, Samrat Vikramaditya and Raja Bhoj. Similarly the Rana dynasty, which produced Nepal's hereditary prime ministers from 1846 to 1953, claims descent from the Ranawat clan of Sisodiya Rajput dynasty of Mewar, Rajasthan, of which the former capital was Chittor (Udaipur). In 1495, Ajaya Simha declared himself prince of Nuwakot (Syangja), Lamjung, Kaski, and Tanahun. His successor, Jagdeva, conquered Kaski. Drabya Shah, great-grandson of Jagdeva, conquered Gorkha and established himself as the founder of the Shah dynasty. Drabya's descendant Prithvi Narayan entered the Kathmandu valley and defeated the Malla dynasty, becoming king in 1768. Narayan's successors conquered all the remaining small principalities and unified the kingdom. At its peak, the Kingdom of Nepal spanned the Himalayas from the Tista river in the East to the Sutlej river in the West and to Gopalganj in the south.