ose Calderon turned out to be a one-year rental for the Pistons after all, agreeing to a four-year deal with the Dallas Mavericks.

Calderon turned down overtures from the Sacramento Kings to accept a four-year, $29 million deal with a Dallas Mavericks team that’s trying to reload on the fly with an aging Dirk Nowitzki, a mere two years after winning the NBA championship in 2011.

Calderon, 31, averaged 11.6 points and 6.6 assists in 28 games with the Pistons after being acquired in a three-team deal that sent former mainstay Tayshaun Prince to the Memphis Grizzlies in late January.

He was expected to be an option to return as a free agent, but it appeared to be a long shot from the outset, as the Pistons have bigger priorities this offseason and still have to define what role Brandon Knight will play next season.