Mathabar Singh Thapa listenⓘ was the Prime Minister of Nepal and the Commander-In-Chief of the Nepalese Army from 25 December 1843 – 17 May 1845, until he was murdered by his nephew Jung Bahadur Rana. He was the first Mukhtiyar to title himself as a prime minister, as per the British convention. He was the nephew of Bhimsen Thapa, who was sentenced to prison after falsely being accused of killing King Rajendra's six months old son. Mathabar Singh Thapa fled to Shimla after the execution of Bhimsen Thapa, to avoid his own execution as he was Bhimsen's nephew. Four years later, the second queen of Rajendra, Queen Rajya Lakshmi, called him back and installed him as the Mukhtiyar, paving the way for him to eventually title himself as the Prime Minister. Mathabar Singh, however, enraged the queen by refusing to make her son, Ranendra Bikram, the king. The queen, in turn, had him shot by his own nephew Janga Bahadur Rana and thereby making him the last dynast of the Thapa dynasty.