LOS ANGELES — The Nets' era of superstars appears to be over.

The Nets have agreed to trade Kevin Durant to the Phoenix Suns for a package of players and first-round picks, according to a person familiar with the deal who was not authorized to discuss it publicly. The agreement was reached only days after the Nets traded their star guard Kyrie Irving to the Dallas Mavericks.

The trades will effectively draw the curtain on a brief, hopeful but ultimately unsatisfying era in Brooklyn in which the Nets gathered elite players like Durant, Irving and James Harden and cultivated hopes of multiple NBA championships. Instead, the franchise endured a series of bitter standoffs, ugly headlines and playoff disappointments with its stars, and one by one let them go.

On Wednesday night, three and a half years after he and Durant signed as free agents, and almost a year to the day since they offloaded Harden to Philadelphia, Irving fired a final shot over his shoulder at his former team upon learning that Durant, like him, was now an ex-Net.

"I just am glad he got out of there," Irving said.

In exchange for Durant, the Nets will receive the forwards Mikal Bridges, Cameron Johnson and Jae Crowder, along with four first-round draft picks and the right to swap another future first-round pick. The Suns also will receive forward T.J. Warren from the Nets.

The news broke as Irving was preparing to meet with reporters after his first game with the Mavericks, a 110-104 victory against the Clippers in Los Angeles.

"We had a lot of conversations throughout the year of what our futures were going to look like," Irving said of Durant. "There was still a level of uncertainty, but we just cared about seeing each other be places where we can thrive. And whether that be together or that be apart, there's never been one moment where I felt like he's been angry at me for decisions I made or I've been angry at him."

The Nets introduced Durant and Irving as the marquee members of a franchise-altering free agency class in the summer of 2019. The team later acquired Harden from the Houston Rockets in January 2021, creating the kind of superteam most agree is required to win titles in the modern N.B.A. While their talent was never questioned, their teams never lived up to those big expectations.

"We played very limited time together," Irving said. "There were a lot of injuries and things that took place. I would have liked to see that work for the long term."

Irving's own decisions played a role in those separations; he appeared in only 29 games during the 2021-22 season, mostly because he declined to get vaccinated against the coronavirus, which was required in a New York City mandate for many private sector employees at the time.

The Nets suspended him again, for eight games this season, after he posted a link to an antisemitic film on his social media accounts and then refused to disavow antisemitism or apologize for posting the link. While he was in and out of the team, Durant also missed many games because of injuries.

Instead of winning championships together, all three stars eventually requested trades. Harden's request came first, and he left for Philadelphia last year.

Durant asked to be traded over the summer — he and the Nets eventually made an uneasy, and ultimately temporary, peace — and Irving asked to be moved within the past few weeks.

On Tuesday, in his first comments since the trade, Irving said that he had felt disrespected by the Nets' front office, which in his view had not been honest with him.

"I know I want to be in a place where I'm celebrated and not just tolerated or just kind of dealt with in a way that doesn't make me feel respected," Irving said on Tuesday.

The Nets never advanced past the Eastern Conference semifinals during Irving and Durant's three full seasons on the team. The Boston Celtics swept them in the first round of the playoffs last season.

Phoenix reached the deal to acquire Durant a day after the NBA board of governors approved the sale of the Suns and the WNBA's Mercury to Mat Ishbia, a billionaire mortgage lender who purchased a majority stake in the team from Robert Sarver. Sarver sold the team after an NBA investigation found that he had engaged in workplace misconduct, including using racial slurs, demeaning women, and treating Black people and women unfairly during his tenure as team owner.

On the Suns, Durant will play alongside a talented young scorer in Devin Booker and an experienced point guard in Chris Paul. He and Irving should collide regularly now that both are in the Western Conference.

"This business changes so quickly," Irving said. "He's getting a little bit older, I'm getting a little bit older. I just love the competition now."