 Finally, Jaya Prakash had only a few Maithil Brahmin citizens in his support as other inhabitants had changed their allegiance from Jaya Prakash to Prithvi Narayan.With the siege of Kathmandu continuing, the Gorkhalis took Kirtipur in the Battle of Kirtipur in 1767.The fall of the hilltop town located to the west of Kathmandu, which was marked by bloody fighting and savagery, was a setback for the valley's defense.