Persian language in the Indian subcontinent

Before the British found India, Persian language was the country's second official language. It was also thought of as the cultural and scientific language. However, after the British found India in 1832, they replaced it with English. 
Persian inscript.
There are many stone carved or plastered Persian inscript in India and thousands of hand written books.