Editor’s note: Mike Hoffman was later traded to the Florida Panthers. More information can be found here.

OTTAWA — The Ottawa Senators have traded forward Mike Hoffman less than one week after a story broke about his partner’s alleged harassment of team captain Erik Karlsson’s wife.

The Senators announced Tuesday they have dealt Hoffman, prospect defenceman Cody Donaghey and a fifth-round pick in the 2020 draft to the San Jose Sharks for Danish forward Mikkel Boedker, defenceman Julius Bergman and a sixth-round pick in the 2020 draft.

Melinda Karlsson, Erik Karlsson’s wife, filed a peace bond last month alleging that Monika Caryk, Hoffman’s fiancee, posted hundreds of derogatory online messages aimed at her and her husband.

In the sworn statement, Melinda Karlsson alleged Caryk "uttered numerous statements wishing my unborn child dead." The Karlssons’ first child, a son named Axel, was stillborn in March.

In a news release announcing the trade, Senators general manager Pierre Dorion said the move will "strengthen the future of the team by improving chemistry, leadership and character in the locker room and on the ice."

The release made no mention of the allegations against Caryk, which Hoffman has denied.

Hoffman, 28, had 22 goals and 34 assists last year for 56 points. Boedker, 28, had 15 goals and 22 assists for 37 points in his 10th year in the NHL.

"Mikkel Boedker is a competitive, versatile, two-way forward who can play both wings," Dorion said in a statement. "He has a track record of playing his best hockey in the most important games, including the playoffs and internationally. His skill set — in particular his speed — along with his veteran leadership with with our vision of the team."

Bergman, 22, was San Jose’s second-round choice (46th overall) in the 2014 NHL draft. The Swedish defenceman played in the American Hockey League last season. Donaghey spent most of last season in the ECHL.

"We are confident (the trade) is a step in the right direction for the long-term success of the organization," Dorion said.

The alleged harassment story was one of the latest development in a turbulent stretch for the Senators.

Last week, the Senators suspended assistant general manager Randy Lee, who has a court date in Buffalo next month for a harassment charge. Lee will miss this weekend’s NHL draft in Dallas.

Meanwhile, former captain and fan favourite Daniel Alfredsson was quoted saying at an event in Ottawa he hopes the Senators are sold to an owner other than Eugene Melnyk to ensure their future in the nation’s capital.

Billboards were erected earlier in the year in Ottawa with the hashtag MelnykOut. Before an outdoor game in December in Ottawa, Melnyk threatened to move the franchise if attendance didn’t pick up.