in the following months, the gorkhalis also conquered lalitpur. 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.