Prithvi Narayan Shah captured Kathmandu and Patan in 1768 and Bhaktapur a year later.
Kathamndu and Patan were taken by Prihvi Narayan Shah.