Rulers from Tirhut, upon being attacked by Muslims, fled north to the Kathmandu valley