When did cap and ball replace flintlock in India?

The British East India company began issuing cap lock Enfields to its Sepoy troops beginning about 1855. Indeed this switch of armaments is seen by many historians as one of the causes of the Sepoy Mutiny of 1858. (A rumour was circulated that the paper cartridges were sealed with lard and therefore unclean by Islamic codes) That being said many flintlocks were still used up to the early 20th century in India by the various Maharajahs armies especially in Gujarat, The Punjab, and Bengal.