Veteran forward Luol Deng reached an agreement with the Los Angeles Lakers on a four-year contract Saturday.

The Vertical’s Shams Charania reported Deng’s agreement with the Lakers will pay him $72 million over four years, which NBA TV confirmed.

Deng has been a master of versatility across his 12 seasons in the NBA, including the past two years with the Miami Heat. While he’s rarely posted monster numbers during stints with the Heat, Chicago Bulls and Cleveland Cavaliers, he’s remained a key cog in the rotation.

The 31-year-old Duke product averaged 12.3 points, 6.0 rebounds and 1.9 assists across 74 games for the Heat last season. But the most telling moment of the campaign came in the playoffs, when he found himself playing center at times after an injury to Hassan Whiteside.

After Miami’s playoff run came to an end against the Toronto Raptors in the Eastern Conference Semifinals, Deng talked about hoping to stay with the organization despite his pending free-agent status, per Manny Navarro of the Miami Herald. He also understood the business side of the situation, though: