Dorell Wright hit a 3-pointer with 7.9 seconds left and the Portland Trail Blazers beat the late-charging Sacramento Kings 100-99 on Wednesday night.
Ray McCallum missed a 21-foot jumper as time ran out for the Kings and Portland's Robin Lopez grabbed the rebound and held it tight for the victory. It was Wright's only basket of the game.
LaMarcus Aldridge had 22 points to lead the Blazers, who have won six of their past seven games.
Portland, which has missed the playoffs for the past two seasons, clinched a postseason berth with a 100-94 victory over New Orleans on Sunday. The Blazers were fifth in the Western Conference with three games left.
DeMarcus Cousins had 30 points and 12 rebounds for the Kings, who were without injured guard Rudy Gay. Sacramento has lost four straight and sit near the bottom of the conference in front of the Los Angeles Lakers and Utah.