An appeals court in Sudan has overturned the death sentence of a 19-year-old woman who killed her husband in what she said was self-defense because he tried to rape her, one of her lawyers has said, in a case that has drawn international outrage.

The woman, Noura Hussein, had her sentence reduced on Tuesday to five years in jail for stabbing and killing her husband, Abdulrahman Mohamed Hammad, according to the lawyer, Ahmed Sibair. The court also ordered Ms. Hussein’s family to pay 337,000 Sudanese pounds, or about $18,600, in “blood money” to the man’s family.

Ms. Hussein’s legal team said it planned to appeal the jail term and fine.

Last month, a court sentenced Ms. Hussein to death by hanging after she was found guilty of killing her husband. The conviction caused outrage among rights groups, which said the law penalized victims of forced marriage and did not recognize marital rape as a crime.

Ms. Hussein was forced to marry Mr. Hammad when she was 16, and she was raped after refusing to have sex with him after a ceremony that involved the signing of a marriage contract by her father and Mr. Hammad, the lawyer said by telephone.