DeMarcus Cousins is on his way out of Sacramento — and right into an All-Star frontcourt pairing with Anthony Davis. The New Orleans Pelicans agreed to acquire Cousins from the Kings on Sunday, the same night the center was playing in the All-Star Game in their arena.

The Kings dealt one of the most talented but temperamental big men in the game along with Omri Casspi to New Orleans in exchange for Tyreke Evans, 2016 first-round draft pick Buddy Hield, Langston Galloway and first- and second-round draft picks this summer.

However, the deal has received widespread criticism with many believing the Kings have traded away their best player for little reward. The Kings’ general manager, Vlade Divac, did little to disprove that theory on Monday when he admitted the team had turned down a “better deal” for Cousins already.

Kings GM Vlade Divac said he had A BETTER OFFER for Boogie two days ago.

But that you know, that's not the deal he made. pic.twitter.com/ZSnUSixZCo — Rachel Nichols (@Rachel__Nichols) February 20, 2017

“When you make a deal you want to get the most. Right now was the best time and it was the best offer we had,” Divac said before explaining why he hadn’t waited until Thursday’s trade deadline: “Most likely we would get less, because I had a better deal two days ago.”

The deal pairs the 6ft 11in Cousins, a frontcourt All-Star from nearby Mobile, Alabama, with the 6ft 11in Davis, who on Sunday night was the All-Star Game MVP after scoring 52 points, breaking Wilt Chamberlain’s 1962 record of 42.

The move also sends a message that the Pelicans are more concerned with making a 25-game push for the playoffs this spring than where they’ll be drafting next offseason.

The deal was still in the works when Cousins spoke with reporters after the All-Star Game, when he played just two minutes as trade rumors swirled. He said he was happy with the Kings, but would also be happy playing closer to home and alongside Davis. “If I’m blessed enough to have a job here, absolutely,” Cousins said. “If that’s what happens.”

New Orleans (23-34) went into the All-Star break 2.5 games behind Denver for the eighth and final playoff seeding in the Western Conference.

Cousins, like Davis a former collegiate star at Kentucky, is averaging 27.8 points and 10.6 rebounds this season. But he is due to become a free agent in 2018 unless the Pelicans can sign him to an All-Star caliber extension. New Orleans will also have to hope Cousins can dial back some of his after-the-whistle intensity and antics. He leads the NBA in technical fouls with 17, putting him one away from another one-game suspension.

While Davis said after the All-Star Game that he wasn’t aware of an impending trade, he said he admired Cousins as a player. “He’s a great player, dominant in this league, of course, with all the numbers he puts up,” Davis said. “Of course, DeMarcus is an elite player in this league.”

But the Kings decided to move on without him, having not made the playoffs since taking Cousins with the No5 pick in the 2010 draft. The Kings get a player with a lot of potential in the 6ft 4in Hield, although he has been inconsistent during his rookie season out of Oklahoma, where as a senior he was one of the best players in the nation.

Hield is averaging 8.6 points but has been explosive at times, with a season high of 21 points. The 6ft 6in Evans, who can play point guard, shooting guard or small forward, will be entering a second stint in Sacramento, where he was drafted in 2009 and went on to be Rookie of the Year. Galloway has been a solid reserve, providing scoring punch from the perimeter. The 6ft 9in Casspi has been playing about 19 minutes per game for the Kings this season, averaging 5.9 points and 4.1 rebounds.