Seth Curry is headed back to Dallas.

The Mavericks have agreed to a four-year deal worth $32 million with the free-agent guard, his agent Alex Saratsis told ESPN.

Curry previously spent two seasons with Dallas, though he missed the entire 2017-18 campaign with a leg injury. The 28-year-old then signed a two-year deal with Portland last summer and exercised his right to opt out of the second season.

Curry averaged 7.9 points off the bench for the Trail Blazers last season, playing just 18.9 minutes per game during the regular season.

He memorably matched up against older brother Stephen and the Warriors in the Western Conference finals, with Golden State sweeping Portland in four games.

A report earlier Monday suggested the Lakers were interested in signing Curry.