Махмуд Газневи
Samgrāmarāja was able to repulse several attacks of Mahmud of Ghazni against Kashmir, and he also supported ruler Trilochanapala against Muslim attacks.