King Prithvi Narayan Shah had difficulty conquering Kirtipur , whose site atop a ridge with two high points made it virtually impregnable .
The king had had little difficulty in overcoming Kirtipur 's defenses .