TORONTO (AP) Kyle Lowry turned in his best game since returning from injury, turning it on in the fourth quarter to help his Toronto Raptors grind out another home win.
Lowry scored nine of his 24 points in the final period, DeMar DeRozan added 21 and the Raptors beat San Antonio 86-83 on Friday night to snap a four-game losing streak against the Spurs.
Jonas Valanciunas had 15 points and 11 rebounds as the Raptors improved to 17-3 at home, the second-best home record in the NBA behind San Antonio's mark of 19-2.
Lowry made eight of 16 shots, going 4 of 9 from 3-point range, in his third game after missing three with a bruised tailbone.
Raptors coach Dwane Casey said Lowry looked stronger than he had in his previous two outings.
''I thought he had a lot of bounce,'' Casey said.
Lowry got the Raptors off to a quick start, making a 3-pointer on his first shot of the game.
''Just being aggressive,'' he said. ''It's that time of year when everyone is kind of hitting a little bit of a rut, a little bit of a lull. We've got to continue to get better and take the step on the journey to making us a better team.''
LaMarcus Aldridge had 17 points and 14 rebounds, Pau Gasol scored 15 points and Patty Mills had 13 as San Antonio lost for the fourth time in six road games. The Spurs are 11-15 away from home.
It had been more than two years since Toronto last beat San Antonio. The Raptors won 97-94 at home on Dec. 9, 2015.
''They're a well-rounded group,'' DeRozan said of the Spurs. ''Everybody understands their roles and they play extremely hard.''
San Antonio guard Manu Ginobili missed his second straight game because of a sore right thigh. Ginobili returned to Texas after the Spurs won at Brooklyn on Wednesday.
The Spurs shot 34 percent, making 31 of 91 attempts. Their season worst was a 33.7 percent showing in an Oct. 27 loss at Orlando.
Toronto is 8-0 this season when holding opponents below 90 points.
''It was a tough one, and we couldn't score,'' San Antonio guard Tony Parker said.
Parker shot 1 for 9 against the Raptors while Aldridge finished 6 for 25 after missing nine of 11 attempts in the first half.
''My shot just never felt good tonight,'' Aldridge said.
The Spurs trailed 70-69 after a 3-pointer by Bryn Forbes at 6:52 of the fourth, but DeRozan and Lowry connected on back-to-back possessions, giving Toronto a 74-69 lead with 5:11 remaining.
After a jump shot by Mills, Toronto reeled off a 6-0 run including baskets by Lowry, Valanciunas and DeRozan to lead 80-71 with 2:40 left.
Another 3-pointer by Forbes made it 86-83 with six seconds left. DeRozan was fouled but missed both free throws, giving San Antonio a chance to tie, but the Spurs couldn't get a shot off in time.
After making seven of 23 shots in the first quarter, the Raptors hit 11 of 20 attempts in the second, including a buzzer-beating jumper from DeRozan that gave Toronto a 44-37 lead at halftime.
Toronto led 55-41 on DeRozan's three-point play at 7:33 of the third but Aldridge did all the scoring in an 8-0 Spurs run that cut the gap to 63-60 heading to the fourth.
Spurs: Aldridge has 19 double-doubles this season, one more than he had all of last season. ... Kyle Anderson matched his career high with 11 rebounds.
Raptors: G Fred VanVleet (right knee) missed his second straight game. ... DeRozan had a team-leading six assists.
HOME SWEET HOME
After playing nine of their past 11 games on the road, the Spurs will be at home for eight of their next nine, including six straight. ''Going home doesn't guarantee wins but it definitely gives us better mojo, better energy,'' Aldridge said.
Spurs: Host Indiana on Sunday. San Antonio has won three straight home meetings with the Pacers, but lost at Indiana earlier this season.
Raptors: Visit Minnesota on Saturday. It's Toronto's final road game of the season against a Western Conference opponent.
More NBA basketball: https://apnews.com/tag/NBAbasketball