The accused Rupesh, 23, was shot in the knee by the police after he allegedly attacked them