SAN FRANCISCO (AP) — Stephen Curry scored 30 points in his return to Golden State’s starting lineup and the Warriors beat Nikola Jokic and the Denver Nuggets 102-98 on Wednesday night to end the first-round series in five games.

Curry converted a three-point play with 1:33 left and scored again with 29 seconds remaining to send the Warriors on to the second round in the Western Conference.

Jokic scored 12 of his 30 points in the final 3:46 and finished with 19 rebounds and eight assists.

The Warriors advanced to play the winner of the Memphis-Minnesota, with the Grizzlies up 3-2 going into Game 6 on Friday night in Minneapolis. Memphis eliminated Golden State in the play-in round last year.