HOUSTON — The Portland Trail Blazers will receive guard/forward Sasha Pavlovic as part of a deal that sent Houston's Courtney Lee to the Boston Celtics.

HOUSTON — The Portland Trail Blazers will receive guard/forward Sasha Pavlovic as part of a deal that sent Houston's Courtney Lee to the Boston Celtics.

The multi-team, sign-and-trade deal was completed Friday.

The Rockets will receive a second-round pick in next year's draft from Boston (a pick that originally owned by Charlotte), forward JaJuan Johnson, guard E'Twaun Moore and forward/center Sean Williams. Houston will also acquire the rights to guard Jon Diebler from Portland. The Celtics completed the deal by trading Pavlovic to Portland.

Pavlovic has averaged 5.1 points per game during his nine-year playing career. The 6-foot-7, 235-pound Yugoslavian experienced his best season with the Cavaliers in 2006-07, when he averaged nine points.

Houston previously withdrew a qualifying offer for Lee, which made him an unrestricted free agent. The 6-foot-5 Lee played two seasons in Houston, averaging 9.6 points and 2.6 rebounds in 139 games.

Yahoo Sports reported that Lee's deal is for four years and $21.5 million. Lee, a first-round draft pick by Orlando out of Western Kentucky in 2008, announced that he had signed on his Twitter account earlier Friday, before the teams wrapped up the other details of the deal.

"Want to thank all the ppl in Houston friends and fans," Lee wrote. "Enjoyed my time. Also would like to thank all the Cs fans for the love."

Lee is a 38.6 percent career shooter from 3-point range and could fill the void left by Ray Allen's departure. Allen, the NBA's career leader in 3-pointers made, bolted from Boston after five seasons to join Miami. The Celtics have also added guard Jason Terry and got Kevin Garnett back since losing to the Heat in the Eastern Conference finals.

"We are very excited that we were able to acquire Courtney Lee," said Danny Ainge, the Celtics' president of basketball operations. "Courtney brings a vast set of tools on both ends of the court and will be a great fit on our roster."

The Rockets, meanwhile, continued to reshape their roster after introducing Jeremy Lin at a press conference on Thursday. Houston is also expected to sign Bulls center Omer Asik to a three-year, $25 million offer sheet.

The 6-foot-10 Johnson averaged 3.2 points and 1.6 rebounds in 36 games as a rookie for the Celtics last season. He was drafted 27th overall in the 2011 draft by New Jersey and was traded to Boston.