The Dallas Mavericks finalized a deal with Brandan Wright on Tuesday, hours after officially signing Monta Ellis.

Wright agreed to a two-year deal worth $10 million, plus incentives, to return to the Mavericks, agent Jim Tanner said.

The Mavericks announced earlier Tuesday that Ellis has signed the contract he agreed to on July 13, a three-year deal worth more than $25 million.

Wright, 25, a center/forward who was the eighth overall pick in the 2007 draft, spent the past two seasons with the Mavs as a minimum-salary reclamation project. He had the league's 20th-best player efficiency rating (21.03) in a limited role last season.

After falling out of the rotation for a stretch in the middle of the season, Wright finished on a high note, averaging 11.2 points, 5.7 rebounds and 1.7 blocks in 24 minutes per game to help the Mavs go 15-8 down the stretch.

The Mavs envision Wright continuing in his role as a high-flying spark off the bench. He will back up center Samuel Dalembert, who signed with Dallas last week.

Ellis, 27, is an eight-year veteran who has averaged 19.4 points and 4.7 assists during his career. He is expected to start at shooting guard for the Mavs and fills a need for a dynamic scorer to complement Dirk Nowitzki in Dallas.