A judge in North Dakota has sentenced a woman who pled guilty to child-neglect charges for breast-feeding her daughter while drunk to 18 months in prison, with all but six months suspended, the Associated Press reported Aug. 7.

Judge Sonja Clapp also told Stacey Anvarinia, 26, that she should enroll in an addiction-treatment program to earn credit toward completion of her sentence.

Appearing before the court, Anvarinia apologized for her actions and pledged to get her daughter back from state custody. Anvarinia’s case sparked an international debate over the legality of pursuing criminal charges for alleged drunken breast-feeding.