A man accused of killing his daughter's boyfriend has pleaded guilty to a lesser charge to avoid a life sentence.

As part of a deal with Duval County prosecutors, 41-year-old Carlos Maurice Dupree pleaded guilty Monday to manslaughter with a weapon. He was set to go on trial this week for second-degree murder.

Authorities say Dupree confronted 18-year-old Garcia Eugene Bannister in March 2012 because Dupree felt the younger man -- who was dating his daughter -- was disrespecting him.

Witnesses say Dupree punched Bannister and then went into his home, retrieved a butcher knife and stabbed him in the abdomen. Bannister was taken to Shands Jacksonville Medical Center, where he died.

Dupree's sentencing is scheduled for April.