SACRAMENTO, Calif. -- One swish after another, Damian Lillard pulled Portland closer.
One or two more, and he might've pulled off one of the NBA's most improbable comebacks this season.
DeMarcus Cousins tied a season-high with 35 points to go with 13 rebounds, Rudy Gay scored 32 points and the Sacramento Kings held off a furious rally by Lillard to beat the Trail Blazers 123-119 on Tuesday night.
"That's the craziest game I've ever been a part of," Cousins said. "I could not wait until the end. I don't ever want to be in a situation with the ball in Damian Lillard's hands. I'm glad we got the win, but that was a scary thing."
Cousins and Gay provided the spark for a 32-12 run at the end of the third and beginning of the fourth quarters that put Sacramento ahead by 19 points. Gay fouled out with 4:12 remaining, and the Blazers nearly rallied back.
After scoring just 13 points in the third quarter, Portland had 46 points in the final period.
Lillard alone scored 26 of his career-high 41 points in the fourth to power Portland within two in the final minute, breaking the franchise record for points in a quarter. Terry Porter scored 25 points against Golden State on Nov. 14, 1992.
But the Kings made just enough free throws hold off Lillard and the Blazers, who have lost four of their last six games.
"That clock was moving very, very slow," Kings coach Michael Malone said. "Damian just kept on coming."
LaMarcus Aldridge added 24 points and eight rebounds, and Nicolas Batum finished with 11 points, 11 rebounds and five assists while playing with a fractured left middle finger in Portland's latest loss.
The Kings had dropped two straight after beating top contenders Miami and Houston. Sacramento held a players-only meeting on Sunday, and the Kings emerged to knock off another one of the NBA's best.
Gay made consecutive 3-pointers, a three-point play and a layup during Sacramento's surge in the fourth. Cousins also put back a rebound and hit a jumper to help the Kings go ahead 102-83 with 7:54 remaining.
Sacramento led 117-105 with 1:12 to play when Lillard turned into a one-man wrecking crew.
The reigning NBA Rookie of the Year made three 3-pointers, a fast-break layup and was fouled shooting another from beyond the arc -- which just rimmed out. He made all three free throws to slice Sacramento's lead to 121-119 with 16.5 seconds left.
"Once I make a few, I can get going," Lillard said.
Isaiah Thomas hit two free throws before Lillard missed from long range to all but end the comeback. Lillard shot 13 of 24 from the floor and added seven rebounds and four assists.
"He's a competitor and at no time does he ever think he's out of a game," Blazers coach Terry Stotts said. "He's done that a lot in the two years he's been here. He's a special player."
In a matchup between one of the best and one of the worst teams in the West, Sacramento flipped the script on a Blazers team that had cruised through most of its schedule.
The Blazers also had beaten the Kings on consecutive nights in November, winning 104-91 in Portland and 96-85 in Sacramento. The Kings started three players who did not start in the two previous games against Portland -- most notably Gay, who was acquired from Toronto in a seven-player trade in early December.
That included Marcus Thornton moving back in the starting lineup for Sacramento, replacing seventh overall pick Ben McLemore. Thornton finished with three points and eight rebounds, and McLemore had two points and two assists.
The Blazers still outscored Sacramento 35-24 in the first quarter and seemed ready to go 3-0 against the Kings this season. Portland shot 63.2 percent from the floor and made 10 of 11 free throws in the period.
Instead, the Kings opened the second quarter on a 14-5 run led by mostly reserves. The teams traded baskets for the remainder of the half, and the Blazers held a 60-55 lead at the break.
Thomas, who had 22 points and eight assists, hit a pair of 3s to highlight a 13-2 spurt for Sacramento to start the third quarter. Portland's topsy-turvy second half just wasn't enough to rally behind Lillard.
"I just didn't want to lose the game," Lillard said. "We had some good spurts on offense, then some bad spurts on defense, then bad spurts on offense, and then good defense. We just need to be more consistent. But when it came down to it we still had a chance to win the game. That's all I was thinking about."
Lillard's previous career high was 37 points against the Warriors last year. ... C.J. McCollum, the 10th overall pick in the NBA draft out of Lehigh, was in Portland's active lineup for the first time this season after fracturing his left foot in training camp. He did not play. "I just didn't think tonight was the night," Stotts said ... The Blazers and Kings meet for the final time this season April 9 in Portland.
Antonio Gonzalez can be reached at: www.twitter.com/agonzalezAP
Get to know the NBA's next crop of superstars.
Isaiah Thomas says his pitch to free-agent-to-be Kevin Durant would be about the tradition of the Celtics and the great fans in Boston.
If LeBron James wants his now customary one-year contract plus a player option with the Cavaliers he stands to leave $3 million on the table compared to the one-year deal he could get elsewhere.