The early years of the Malla era were turbulent, with raids and attacks from Khas and Turk Muslims