There are statistical proofs that pre-british and pre-islamic India was the most literate country in the world. There are also proofs that there were only 10-15% uppercasts in schools. All most all the kings were not brahmins and had control over brahmins.