After 12th-century, Odia temples, monasteries and nearby institutions such as the Nalanda in eastern Indian subcontinent came under waves of attacks and ransacking by Muslim armies, a turmoil that impacted all arts and eroded the freedoms previously enjoyed by performance artists. The official records of Sultan Firuz Shah Tughlaq's invasion in Odisha (1360-1361 CE), for example, describe the destruction of the Jagannath temple as well as numerous other temples, defacing of dancing statues, and ruining of dance halls. This led to a broad decline in Odissi and other religious arts, but there were some benevolent rulers in this period who supported arts particularly through performances at courts. During the Sultanate and Mughal era of India, the temple dancers were moved to entertain the Sultan's family and courts. They became associated with concubinage to the nobility.  The Odissi dance likely expanded in the 17th century, states Alexandra Carter, under King Ramachandradeva's patronage. This expansion integrated martial arts (akhanda) and athletics into Odissi dance, by engaging boys and youth called Gotipuas, as a means to physically train the young for the military and to resist foreign invasions. According to Ragini Devi, historical evidence suggests that the Gotipuas tradition was known and nurtured in the 14th century, by Raja of Khurda.  During the British Raj, the officials of the colonial government ridiculed the temple traditions, while Christian missionaries launched a sustained attack on the moral outrage of sensuousness of Odissi and other Hindu temple dance arts. In 1872, a British civil servant named William Hunter watched a performance at the Jagannath temple in Puri, then wrote, "Indecent ceremonies disgraced the ritual, and dancing girls with rolling eyes put the modest worshipper to the blush...", and then attacked them as idol-worshipping prostitutes who expressed their devotion with "airy gyrations".  Christian missionaries launched the "anti-dance movement" in 1892, to ban all such dance forms. The dancers were dehumanized and stigmatized as prostitutes during the British period. In 1910, the British colonial government in India banned temple dancing, and the dance artists were reduced to abject poverty from the lack of any financial support for performance arts, combined with stereotyping stigma.

Answer this question "How was the dance effected during this time?" by extracting the answer from the text above.
After 12th-century, Odia temples, monasteries and nearby institutions such as the Nalanda in eastern Indian subcontinent came under waves of attacks and ransacking by Muslim armies,