ELLSWORTH, Wis. (AP) — A Minnesota boater has pleaded guilty to being drunk when he crashed into the rocks on the St. Croix River nearly two years ago, killing a friend.

48-year-old Patrick Puhalla of Newport, pleaded guilty in Pierce County Circuit Court last week to homicide by intoxicated use of a vehicle, a felony, and causing injury by intoxicated use of a boat, a misdemeanor. Sentencing is scheduled for Aug. 12.

According to state crime lab results, Puhalla's blood alcohol content at the time of the June 5, 2013, crash was 0.114 percent. That's above the legal limit of 0.08 percent.

Killed in the crash was 40-year-old David Riley. Another passenger was hurt.

The three were returning to a marina in Afton,when the crash happened.