FILE - In this April 21, 2019, file photo, Golden State Warriors forward Kevin Durant, top, dunks as Los Angeles Clippers guard Landry Shamet defends during the second half in Game 4 of a first-round NBA basketball playoff series in Los Angeles. Rarely relevant at the same time on the basketball court, the Knicks and Nets are front and center in the free agency race, two of the teams best positioned to make a splash when the market opens. Both can afford two top players, with hopes of landing not only a Kevin Durant or Kyrie Irving, but possibly even both. (AP Photo/Mark J. Terrill, File)
FILE - In this April 21, 2019, file photo, Golden State Warriors forward Kevin Durant, top, dunks as Los Angeles Clippers guard Landry Shamet defends during the second half in Game 4 of a first-round NBA basketball playoff series in Los Angeles. Rarely relevant at the same time on the basketball court, the Knicks and Nets are front and center in the free agency race, two of the teams best positioned to make a splash when the market opens. Both can afford two top players, with hopes of landing not only a Kevin Durant or Kyrie Irving, but possibly even both. (AP Photo/Mark J. Terrill, File) Credit: ap file — Mark J. Terrill

NEW YORK — Kevin Durant is headed to the Brooklyn Nets, leaving the Golden State Warriors after three seasons.

His decision was announced on Sunday at the start of the NBA free agency period on the Instagram page for The Boardroom, an online series looking at sports business produced by Durant and business partner Rich Kleiman.

Durant won titles with Golden State in 2017 and ‘18 then was injured for much of the postseason this year as the team lost the NBA Finals in six games to the Toronto Raptors.

A ruptured right Achilles tendon could keep him out the entire next season, and whenever he returns it will be in the Brooklyn black.

ESPN first reported Durant’s decision, saying he had agreed to a four-year deal worth $164 million. Durant could have gotten five years and about $221 million to remain with the Warriors.

Durant, a 10-time All-Star who just completed his 12th NBA season, was leading all postseason scorers at 34.2 points per game when he strained his right calf on May 8 in Game 5 of the Western Conference semifinals against the Rockets. He had seven 30-point performances during the recent playoffs.

It’s unclear how he will play whenever he can return, but the Nets were willing to take a chance with a team on the rise.

Brooklyn finished 42-40 this season and lost in the first round of the playoffs, then got a huge victory Sunday when it beat out the Warriors, New York Knicks and Los Angeles Clippers for Durant.

Durant, who grew up in the Washington area and spent one college season at Texas, played his first year with the Seattle SuperSonics before they departed for Oklahoma City, where Durant played eight seasons with the Thunder before joining the Warriors in 2016.

In other developments:

■A person with knowledge of the situation says that former Charlotte guard Kemba Walker has told the Boston Celtics he will sign a four-year, $141 million contract to join them.

The person also says that it’s likely that Walker will be part of a trade that would send Terry Rozier from Boston to Charlotte on a three-year, $58 million deal.

■Milwaukee said it is keeping center Brook Lopez, not disclosing terms of the agreement. The Bucks also said they’d be keeping Khris Middleton for five years and nearly $179 million.

■A person with knowledge of the deal says the Dallas Mavericks and Kristaps Porzingis have agreed on a $158 million, five-year maximum contract that will pair the 7-foot-3 Latvian with fellow Euro star Luka Doncic.