If you were 17 years old at the time of the crime, whether it was intentional or negligent, you should be punished with a reduced punishment and cannot be sentenced to death.
If it is intentional homicide, the maximum sentence is life imprisonment.
Legal link: Article 232 of the "Criminal Law" Whoever intentionally kills someone shall be sentenced to death, life imprisonment, or fixed-term imprisonment of not less than ten years; if the circumstances are relatively minor, he shall be sentenced to fixed-term imprisonment of not less than three years but not more than ten years. .
Article 233: Whoever negligently causes death shall be sentenced to fixed-term imprisonment of not less than three years but not more than seven years; if the circumstances are relatively minor, he shall be sentenced to fixed-term imprisonment of not more than three years. If this law provides otherwise, such provisions shall prevail.
Article 234: Anyone who intentionally harms the body of others shall be sentenced to fixed-term imprisonment of not more than three years, criminal detention or public surveillance.
Whoever commits the crime in the preceding paragraph and causes serious injury shall be sentenced to fixed-term imprisonment of not less than three years but not more than ten years; whoever causes death or severe disability by particularly cruel means shall be sentenced to fixed-term imprisonment of not less than ten years or life imprisonment or death penalty. If this law provides otherwise, such provisions shall prevail.