The Detroit Pistons are closing in on a mutual agreement to acquire free agent sharpshooter Wayne Ellington, according to ESPN's Adrian Wojnarowski.

The Motor City could recover what it lost by trading away Reggie Bullock to the Los Angeles Lakers, acquiring a reputable long-range shooter who is fresh off setting the franchise record for threes made in a season for the Miami Heat.

Ellington was traded to the Phoenix Suns along with combo guard Tyler Johnson, only to be waived by the team right away.

The veteran was hopeful to join a contender or a team that could use his abilities in pursuit of a playoff spot. The Pistons will need his sharpshooting qualities against his former team, as they stand 1.5 games behind the Heat for the eighth and last spot in the Eastern Conference.

Ellington's tenure with the Pistons might not be permanent, but it will give him an active role to showcase his skills and set himself up for free agency after his $6.3 million contract for 2018-19 comes to a close.

The 10th year veteran has struggled this season, mostly due to the shaky playing time he's received under former coach Erik Spoelstra after the Heat got a bevy of bodies back from injury, creating a logjam at the shooting guard position.

Ellington is averaging 8.4 points, 1.9 rebounds and 1.2 assists per game, but shooting 36.8 percent from deep in 25 appearances this season.