Jang Bahadur Rana the then Prime Minister of Nepal revolted against the royalty in 1844. The famous Kot Massacre took place during this period in which numbers of noblemen were killed. The Rana took absolute power but continued to maintain the Shah family in the palace. The 104 years regime of Ranas came to and end due to their autocratic rules.