Ty Lawson scored 25 points, Andre Miller had 20 points and nine assists, and the Denver Nuggets beat the Thunder, 114-104, Tuesday night in Oklahoma City to win a 13th straight game for the first time since joining the NBA.

The Nuggets trailed by 1 at halftime but took control in the third quarter and never let Oklahoma City reclaim the lead. Denver moved within 3½ games of the Thunder in the Northwest Division and became the first team this season to beat Oklahoma City three times.

It was also a big win in the chase for home-court advantage in the playoffs for Denver, which is tied with Miami for the NBA’s best home record at 30-3.

Kevin Durant had 34 points and Russell Westbrook 25 for Oklahoma City, which lost at home for just the fifth time this season.

The Thunder gave up a season-worst 72 points in the paint — Denver’s specialty — as both teams struggled throughout the game from 3-point range. The Nuggets had 66 and 60 points in the lane in wins against Oklahoma City in Denver earlier this season.

Denver’s previous longest winning streak in the NBA was 12 straight games in 1982. The franchise won 15 in a row in the ABA.

Ellis added 9 rebounds, 8 assists, 3 steals and matched a career high with 3 blocks for Milwaukee, which outscored Portland, 31-8, in the second quarter — the Trail Blazers’ fewest points in any period this season. The Blazers shot a woeful 2 for 20 from the field and had six turnovers in the quarter.

Kings 116, Clippers 101 — Marcus Thornton had 25 points, Toney Douglas scored 17 of his 19 in the fourth quarter, and host Sacramento rallied from 8 down in the final 11 minutes to stun Los Angeles.

DeMarcus Cousins and Tyreke Evans added 17 points apiece for the Kings, who beat the Pacific Division-leading Clippers for the first time in more than two years.