The Dallas Mavericks have agreed to sign Yogi Ferrell to a two-year, $5.3 million deal.

Ferrell will be the backup shooting guard for the Mavericks.

Ferrell initially joined the Mavericks on a 10-day contract in January 2017, one month after the Nets waived him.