Police said enraged by the attack, the residents subsequently overpowered the accused and thrashed them before handing them over to the police.