TORONTO - Canadian guard Cory Joseph has agreed to a contract with the Toronto Raptors.

The Pickering, Ont., native agreed to a four-year contract worth US$30 million, according to multiple media reports.

Deals can't become official until Thursday, when the NBA's free agency moratorium ends.

".WeTheNorth here I come!!!!!" Joseph posted on his verified Twitter account.

The 23-year-old spent his first four NBA seasons with the San Antonio Spurs, helping them win the league title in 2014.

"A sincere thank you to all the fans, RC, Coach Pop and the entire Spurs organization for all the support over the last 4 years," Joseph posted. "SA will always be close to my heart... had my first game and first championship here! .ThankYou .NextChapter"