October 15, 2020 | 12:09pm

The Lakers gave up a lot — Lonzo Ball, Brandon Ingram, Josh Hart and three first-round picks — to land Anthony Davis.

It will have been worth it.

After helping lead the Lakers to their first NBA title in 10 years, Davis appears set to forego the opportunities available to him as a free agent and remain in Los Angeles. According to The Athletic, Davis, 27, plans to opt out of his $28.7 million player option and re-sign with the Lakers, who could potentially offer him as much as nearly $254 million on a five-year deal.

“We’re gonna run it right back,” Davis said during the team’s recent title celebration.

Anthony Davis will sign a long-term Lakers deal
Anthony DavisGetty Images

During his first season with the Lakers, the former No. 1 overall pick served as a perfect complement to LeBron James, averaging 26.1 points, 9.3 rebounds, 3.2 assists, 2.3 blocks and 1.5 steals.

James, 35, has two years remaining on his deal, though the final year of his contract is a player-option.