The Flyers swapped defensemen Monday in a trade with the Senators.

The club sent Dennis Gilbert to Ottawa in exchange for Maxence Guenette, a restricted free agent who the Flyers agreed to terms with on a one-year, two-way deal.

With no contract, Guenette had yet to play this season. In 58 games last season for the Senators’ AHL affiliate Belleville, the 24-year-old had nine goals, 14 assists and a plus-13 rating.

Guenette’s best AHL season from a scoring standpoint came in 2022-23, when the righty shot had five goals and 35 assists over 72 games for Belleville.

The 2019 seventh-round pick of Ottawa has played eight career NHL games. He’s the second defenseman the Flyers have brought in for AHL affiliate Lehigh Valley over the last two and a half weeks. They acquired Christian Kyrou in the Samu Tuomaala trade.

Guenette is expected to report to the Phantoms.

Gilbert didn’t see game action with the Flyers after signing a one-year deal in the offseason. He had an assist and a plus-1 rating in six games for Lehigh Valley.