MEMPHIS, Tenn. — The Memphis Grizzlies avoided dropping into the Western Conference cellar by beating the worst team in the East.

And it took every last second to secure the win over the Atlanta Hawks.

Tyreke Evans scored 22 points, including the go-ahead layup with 1:03 left, as the Grizzlies snapped a five-game skid with a 96-94 victory over the Hawks on Friday night.

But there were a lot of deep breaths in the closing seconds.

The Hawks attempted three shots in the final 3.5 seconds, all of which misfired, including Andrew Harrison's deflection of Taurean Prince's attempt in the left corner with about 1.2 seconds left. The ball went into Kent Bazemore's hands and his 3-point attempt at the horn bounced off the front of the rim.

"All I was thinking was don't let them get it up," Harrison said of his defence in the closing seconds.

Mario Chalmers added 16 points and had four steals for Memphis, while Marc Gasol scored 13 points.

The loss left the Hawks with the worst record in the NBA, while the win helped Memphis stay above the Dallas Mavericks, who sit at the bottom of the West.

"Winning always feels better than losing," Memphis interim coach J.B. Bickerstaff said with relief, later adding: "I think some plays went our way."

Bazemore led the Hawks with 19 points, while Dennis Schroder finished with 18 points and 11 assists. Prince contributed 17 points as Atlanta dropped its fourth straight.

"Tough loss," Atlanta coach Mike Budenholzer said. "I felt like we played well enough for more of the game, for 48 minutes, but we weren't able to come away with the win. We needed to make a few more plays down the stretch."

The first half was representative of a contest between two of the worst teams in the league, with a total of 24 turnovers and both shooting 44 per cent. A few more made free throws for Atlanta and a couple of extra 3-pointers gave the Hawks a 47-40 lead at intermission.

Memphis trailed 89-81 with just over 6 minutes left when it reeled off eight straight, capped by Chalmers' 3-pointer to tie the game at 89.

Chalmers converted another 3-pointer with 1:45 to go, tying the game at 94, setting the stage for Evans' go-ahead basket.

"We kind of weathered the storm," Bazemore said of the game. "I think we took a step forward as a team. We didn't get the win, but there was a lot of good stuff."

TIP-INS

Hawks: Schroder's 11 assists marked the second straight night he has reached at least 10. ... Ersan Ilyasova finished with nine points. He entered the game having scored at least 20 in three of last four games. ... Marco Belinelli finished with 14 points, converting 5 of 9 shots.

Grizzlies: Evans returned after missing Wednesday's game in Washington with right hip soreness. ... Memphis committed 14 turnovers in the first half, a season high. The Grizzlies' 22 turnovers for the game also were a season high. ... Gasol, who scored all 13 of his points in the third quarter, has reached double figures in all but one game this season, a victory over Houston on Oct. 28. ... JaMychal Green grabbed 12 rebounds, including four off the offensive glass.

THREE-POINT PRINCE

Prince made a career-high five 3-pointers in the game. His previous high was four on Nov. 11 against the Wizards. "We're really encouraging him to shoot 3s," Budenholzer said. "I think that will open up his drive game and other things he can do. That's what we really want from him."

THREE-POINT GRIZZLIES

Memphis finished the game 12 of 25 from outside the arc, but the success fell to four players. Gasol made both of his 3-pointers, while Harrison converted all three of his. Evans and Chalmers missed only one 3-point shot each, Evans going 4 of 5 and Chalmers making 3 of 4.

FINAL WORD

Asked about what he was thinking during the flurry of Atlanta shots in the closing few seconds, Bickerstaff replied: "There were some things going through my head that I don't want to say."

UP NEXT

Hawks: Host the Miami Heat on Monday.

Grizzlies: Play the second night of a home back-to-back on Saturday against the Boston Celtics.

___

For more NBA coverage: https://apnews.com/tag/NBAbasketball