Published: Aug 14, 2014 3:17 PM EDT

LEE COUNTY, Fla.- A Cape Coral man was sentenced to 40 months in prison for slashing his boyfriend's neck with a box cutter, before jumping into the Caloosahatchee River to flee police, back in March. 

James Cannon, 29, pled no contest to aggravated battery with a deadly weapon.

The victim drove himself to the hospital, and on the way, slammed into a Fort Myers Police patrol vehicle on US 41. The officer sustained minor injuries.