Urdu, which was often referred to by the British administrators in India as the Hindustani language, was promoted in colonial India by British policies to counter the previous emphasis on Persian. In colonial India, "ordinary Muslims and Hindus alike spoke the same language in the United Provinces in the nineteenth century, namely Hindustani, whether called by that name or whether called Hindi, Urdu, or one of the regional dialects such as Braj or Awadhi." Elites from Muslim and Hindu religious communities wrote the language in the Perso-Arabic script in courts and government offices, though Hindus continued to employ the Devanagari script in certain literary and religious contexts while Muslims used the Perso-Arabic script. Urdu replaced Persian as the official language of India in 1837 and was made co-official, along with English. In colonial Indian Islamic schools, Muslims taught Persian and Arabic as the languages of Indo-Islamic civilisation; the British, in order to promote literacy among Indian Muslims and attract them to attend government schools, started to teach Urdu written in the Perso-Arabic script in these governmental educational institutions and after this time, Urdu began to be seen by Indian Muslims as a symbol of their religious identity. Hindus in northwestern India, under the Arya Samaj agitated against the sole use of the Perso-Arabic script and argued that the language should be written in the native Devanagari script, which triggered a backlash against the use of Hindi written in Devanagari by the Anjuman-e-Islamia of Lahore. Hindi in the Devanagari script and Urdu written in the Perso-Arabic script established a sectarian divide of "Urdu" for Muslims and "Hindi" for Hindus, a divide that was formalised with the partition of colonial India into the Dominion of India and the Dominion of Pakistan after independence (though there are Hindu poets who continue to write in Urdu, including Gopi Chand Narang and Gulzar).