Free agent point guard Tim Frazier has agreed to sign with the Detroit Pistons, inking a one-year deal worth $2 million per Yahoo Sports' Chris Haynes.

Frazier, 28, last played for the Milwaukee Bucks and New Orleans Pelicans during the 2018-19 season. Frazier was waived by the Bucks prior to the start of the past season before being scooped up by the Pelicans, who later waived the Penn State product in February. Frazier would then make his way back to Brew City in March of 2019 and appeared in 12 games.

The Pistons are searching for point guard insurance following the departure of Ish Smith who, after a three-year tenure in Detroit, is leaving Motor City for the Washington Wizards.

Before his time with the Bucks and Pelicans, Frazier had stints with the Washington Wizards and Portland Trail Blazers. While he went undrafted in 2014, Frazier has stayed in the league and bounced around teams mostly through signing 10-day contracts and taking his lumps — persevering through roster obstacles in multiple organizations.

Last season, Frazier averaged 5.3 points, 2.8 rebounds and 4.2 assists per game in 59 appearances and 19 starts while shooting 44.4 percent from the floor, 36.6 percent from 3-point range and 75.9 percent from the free throw line.

The Pistons also had free agent shooting guard Wayne Ellington sign with the New York Knicks. The team is still searching for shooting resources to help Blake Griffin and Andre Drummond.