Self defence or defence of another is a legitimate use of lethal force. People should not be punished for the accidental death of an assailant or home intruder when the intent is violent or obviously malicious. Same goes for the protection of ones property and community. This is why we have murder in varying degrees under the law.