Updated

A court in western Germany says a doctor who killed her husband with morphine can continue practicing medicine.

The regional court in Aachen reversed an earlier ruling that would have prevented the 40-year-old defendant from working as a doctor for life.

The woman, who hasn't been named publicly in keeping with Germany's privacy laws, also was sentenced Tuesday to seven years and eight months imprisonment for manslaughter.

Prosecutors accused the woman of killing her husband after a fight in 2011. He was about 50 years older than her.

German news agency dpa reports that she told the court she wants to "return to society" after overcoming drug dependency and prostitution to become a doctor.

She could be released in seven months because of the time she spent jailed before trial.