In exchange for pleading guilty, prosecutors agreed to drop all other charges including attempted murder and aggravated kidnapping.

Assistant State’s Attorney Patrick Kenneally said that prior to the Sept. 30, 2012, incident, 46-year-old Enriquez-Hernandez and his wife, Margarita Enriquez, had separated and she began dating another man.

The day of the attack, the woman returned to her Harvard home where she found Enriquez-Hernandez waiting for her. She agreed to drive him home, and an argument ensued. Enriquez-Hernandez pulled out two 3-inch knives and threatened his wife, Kenneally said.

Enriquez, who survived, escaped the car, and her husband chased her. When he caught up, he straddled her and stabbed her in the head multiple times, leaving what Kenneally described as “deep lacerations, permanent disfigurement” that caused great bodily harm.

Prosecutors have previously said Enriquez-Hernandez dragged the woman back to a garage, choked her until she lost consciousness, then bound her with rope and put her in the back of the car.

Enriquez-Hernandez eventually dropped the woman off in a driveway at a relative’s house in Walworth, Wis., his defense attorney Stephen Kramer said outside the courtroom.

“He left her there in the hope that they would call for help,” Kramer said.

The sentence imposed will be served at 85 percent. Because Enriquez-Hernandez is not a legal U.S. citizen, the conviction will result in deportation and denial of naturalization.