The Mavericks were allowed to sign Peja Stojakovic on Monday night after the NBA approved their trade of Alexis Ajinca to the Raptors.

Stojakovic had been released by Toronto on Thursday.

Dallas sends Ajinca to Toronto and will pay the remainder of his $1.5 million salary for the season and return a future second-round pick that the Raptors had sent the Mavericks last June, as well as cash considerations.

In return, Dallas receives the rights to 2007 second-round pick Georgios Printezis and a trade exception equal to Ajinca's $1.5 million salary.