DALLAS (AP) Free agents Dwight Powell and Deron Williams have re-signed with the Dallas Mavericks.

Powell, a restricted free agent, signed a $37 million, four-year deal Friday, hours after Williams completed a $10 million, one-year deal for a second season with his hometown team.

The 6-foot-11 Powell started two of his 69 games last season, when the post player averaged 5.8 points and 4.0 rebounds while playing nearly 14 1/2 minutes per game.

More from FoxSports

Powell was acquired along with Rajon Rondo from Boston in December 2014 in a deal that sent Jae Crowder, Brandan Wright, Jameer Nelson, a 2015 first-round pick and a 2016 second-round pick to the Celtics. Powell has played in 98 career games.

Williams averaged 14.1 points and 5.8 assists last season for Dallas. The three-time All-Star opted for the Nets over the Mavericks in free agency in 2012, but ended up in Dallas last year after accepting a buyout in Brooklyn.

The 6-3 Williams is an 11-year NBA veteran with career averages of 16.8 points and 8.3 assists in 781 games for Utah, the Nets and Mavericks.

Also on Friday, the Mavericks signed rookies A.J. Hammons, a center, and Dorian Finney-Smith, a forward.

The 7-foot Hammons was their only draft pick last month, selected 46th overall out of Purdue. The 6-8 Finney-Smith is a rookie free agent out of Florida.

JaVale McGee, a 7-foot center, was waived. He averaged 5.1 points and 3.9 rebounds in 34 games for Dallas last season.