Original: He remained in the same service under Pierre Cuillier-Perron, who became commander-in-chief of Sindhia's army after Boigne's retirement, until 1803, when, on the outbreak of the second Anglo-Maratha War, all Anglo-Indians were dismissed from Mahratta service.
Simplified: He remained in the same service under Pierre Cuillier-Perron until 1803, when, on the outbreak of the second Anglo-Maratha War all Anglo-Indians were dismissed from Mahratta service.