If you are talking about India, it wasn't a "country" before the British. It was a mixture of disparate kingdoms and sultanates. Not to mention that before the British, most of India was under Muslim colonizers i.e. the Mughals.
The Indians have always been a conquered people, it is only in the last 70 years that they have had freedom; you should thank the British for it.