In Brazil, homicide is punished under article 121 of the Penal Code. It is split into two different categories: homicídio doloso, and homicídio culposo. The penalty for intentional homicide varies from six to twenty years; the penalty for unintentional homicide varies from one to three years. Intentional homicide may be further qualified by any of the following circumstances:
if it is committed for pay or other reward, or other vile motive;
if its motivation is futile;
if committed with the use of poison, fire, explosive, asphyxia, torture, or other cruel or insidious mean, or of any mean that may result in danger to other;
if committed by treachery, ambush, dissimulation, or other means that turn defense difficult or impossible;
if committed to ensure the execution, occultation, impunity, or profit of other crime.
In these cases, penalty varies from twelve to thirty years. Penalties for intentional murder are increased by one third if the victim is under fourteen or over sixty years old. Penalties for intentional murder may be reduced by the judge by one sixth to one third, if it was committed for reason of relevant social or moral motivation, or under violent emotion, caused by unjust provocation of the victim. Penalties for unintentional murder are increased by one third, if it results of inobservation of technical rule of professional activity, or if the agent fails to soccur the victim, does not act to lessen the consequences of the act, or flees to avoid detention. Penalties for unintentional homicide can be not applied, at the judge's criterion, if the consequences of the crime affect the agent so strongly that the penal sanction reveals unnecessary. Infanticide, defined as the killing of a newborn, during birth or immediately after by its own mother, under the influence of puerperal state, constitutes a different crime, punished under article 123. The BrazilianPenal code also has provisions that apply to any crime, including homicide: The penalty for attempted crimes varies between one and two thirds of the penalty prescribed for the crime. Impossible crimes are not punished. Killing in legitimate defence is not punishable. There is no penalty if the agent is unable, due to mental disease or incomplete development, to understand the nature of the act or to behave in accordance to such understandment. Instead, the agent should be interned in a psychiatric institution. Minors of 18 are criminally inimputable . The penalty should be aggravated if the agent is reincident, or if the victim is a relative, a pregnant woman, an ill person, or is under protection of authorities, or if the act is committed during public calamity or personal disgrace of the victim, or with abuse of power or violation of professional duty. The penalty should be attenuated if the agent is under 21 years old, or has spontaneously confessed to the crime.