In most cultures considered a right of a soldier during wartime. From the viking raiders to the tutsi armies in Rwanda.
You know, aside from war, punishment of crimes and maybe if he's black.
Catholic church
Pharoanic dynasties of ancient Egypt.
...
Lol, I'm just being difficult. As I said, there are certain simularities which occur through our genetic code, I'm not denying that you will find certain universals of morality. Just showing how cultures will have fairly different ideas of things.