MEMPHIS, Tenn. (AP) -- Allen Iverson scored 27 points to lead the Detroit Pistons to an 87-79 victory over the Memphis Grizzlies on Monday, ending the Pistons' longest losing streak in five seasons.
Rasheed Wallace scored 11 of his 13 points in the second half to help bring Detroit's five-game skid to an end.
The Grizzlies lost their sixth straight and for the 14th time in 16 games.
Iverson and Wallace took over to score Detroit's final 10 points in the last five minutes after the Grizzlies tied the game at 77.
Wallace hit two free throws and Iverson followed with jump shots on consecutive possessions to make it 83-77. Wallace added two more free throws with 40 seconds left and Iverson made two more with 24 seconds to go for the final margin.
Memphis missed 10 of its final 12 attempts. In the fourth quarter, the Grizzlies were 4-of-20 and didn't make a shot in the game's final 2:55.
O.J. Mayo and Rudy Gay led the Grizzlies with 15 points apiece and rookie center Marc Gasol had 12 points and 13 rebounds.
"We got some good looks down the stretch, we just couldn't put it in the hole," Memphis coach Marc Iavaroni said.
Memphis failed to score 90 points for the fifth time during its six-game losing streak, but started the second half as if it would end its struggles.
The Grizzlies had a 12-4 run late in the third quarter to take a 69-67 lead into the fourth. Memphis, which hadn't led since early in the second quarter, got a 3-pointer from Gay and a technical free throw from Mayo to tie the game at 65 with 1:56 left in the third quarter.
A high-flying dunk by Hakim Warrick tied the game again at 67 about a minute later and a 15-foot jumper by Darrell Arthur put the Grizzlies up two lead going into the fourth.