Input (grade 9): The moment British came to know that Velappan was still being loyal only to his master Chinnamalai they shot him dead.
Output (grade 8): The moment British came to know that Velappan was an informer to Chiinamalai, they shot him dead.