A 35-year-old man has pleaded guilty to stabbing his ex-girlfriend to death in a Shakopee apartment the two once shared.

Fraider Diaz-Carbajal, whose criminal history led to his deportation to Mexico several years ago, entered his plea to second-degree murder last week in Scott County District Court in connection with the Aug. 12 attack that killed Enedelia Perez Garcia, 27.

Diaz-Carbajal remains jailed ahead of sentencing on March 15, when the County Attorney's Office will seek the maximum of 40 years.

Garcia died from multiple stab wounds all over her body, according to police. A 7-year-old daughter is among her survivors.

The attack occurred when Garcia came to the apartment to retrieve some belongings after moving out "due to the domestic abuse," court records revealed.

A resident in the building told police that she saw Diaz-Carbajal slash his own throat and stab himself in the abdomen.

U.S. Immigration and Customs Enforcement said Diaz-Carbajal has three drunken-driving convictions on his record and another conviction for domestic assault against Garcia.

A federal immigration judge in December 2012 ordered him deported to Mexico, and ICE officers carried out that order two days later. Since then, the agency said, he illegally re-entered the United States, which is a felony.