Kill a person «by Law» is a crime anyway. A legal crime, ironically.
The history of Earth (for everywhere on the planet) is an interminable counting of "official murders" (an uncountable list of legal crimes) – as we can check in the following link: https://en.wikipedia.org/wiki/Capital_punishment.
And unfortunately, it’s not over yet.