Chuck Burton, AP
Miami Heat's Luol Deng (9) brings the ball up the court as Charlotte Hornets' Frank Kaminsky III (44) trails during the first half in Game 6 of an NBA basketball playoffs first-round series in Charlotte, N.C., Friday, April 29, 2016. (AP Photo/Chuck Burton)

A person with knowledge of the situation tells The Associated Press that the Los Angeles Lakers have agreed to terms with veteran forward Luol Deng on a four-year contract worth $72 million.

The two sides came to agreement early Saturday morning. The person spoke on condition of anonymity because the deal cannot be signed until July 7.

The 31-year-old Deng averaged 12.3 points and 6.0 rebounds for Miami last season. He has spent the last two years with the Heat.

He is a hard-nosed, defensive forward who can play multiple positions and provide solid offense. His leadership should be key for a young Lakers team that at times struggled with maturity last season.

Yahoo Sports first reported the agreement.