During the Bhakti movement of Hinduism, dated to about the middle of 1st millennium CE, raga became an integral part of a musical pursuit of spirituality.
The early 13th century Sanskrit text Sangitaratnakara, by Sarngadeva patronized by King Sighana of the Yadava dynasty in Maharashtra, mentions and discusses 253 ragas.