According to Gopalraj Vansawali, a genealogy of Nepali monarchs, the rulers of Kathmandu Valley before the Licchavis were Gopalas, Mahispalas, Aabhirs, Kirants, and Somavanshi.