 The three kings of Nepal then gathered in Bhaktapur for a final stand against the aggressors.Shah conquered Bhaktapur in 1769, thus completing his conquest of Nepal.He established the Shah dynasty which remained until 2008 when Nepal became a republic.