Original: The moment British came to know that Velappan was still being loyal only to his master Chinnamalai they shot him dead.
Simplified: The moment British came to know that Velappan was an informer to Chiinamalai, they shot him dead.