the widow of sūhadeva, queen kotā took his place but was usurped by shah mir, a muslim who had moved into the area from the south. the kingdom had been subjected to muslim influence even prior to his arrival and some people had already converted to the religion from hinduism. by the end of the 14th century the vast majority of the kashmir had become muslim, although the brahmins still maintained their traditional roles as the learned administrators until the accession of sikandar butshikan.