Eventually, the Licchavi ruler Gunakamadeva merged Koligram and Dakshin Koligram, founding the city of Kathmandu [REF].
The Gorkha Kingdom ended the Malla confederation after the Battle of Kathmandu in 1768.