Updated

Mike Bibby made a go-ahead 3-pointer with 8.2 seconds left, Jamal Crawford scored a season-high 36 points, and the Atlanta Hawks beat the Toronto Raptors 104-101 on Wednesday night for their fifth straight victory.

Joe Johnson scored 26 points and Al Horford had 10 points and 13 rebounds for the Hawks, who have won nine of their past 11 meetings with the Raptors.

Leandro Barbosa scored a season-high 26 points for the Raptors, who also got 26 from Andrea Bargnani. Toronto has lost five of seven and 14 of 19.

Jose Calderon had 11 points and nine assists for Toronto, but lost the ball out of bounds in the final 10 seconds and his team down by a point.

Toronto led 87-82 with 7:02 to go thanks to Barbosa's three-point play and a free throw by Calderon after a technical foul on Crawford. Atlanta fought back to tie it at 91 on a 3-pointer by Johnson with 4:38 remaining.

Bargnani made a pair of jumpers but Crawford's 3 and a layup from Horford gave Atlanta its first lead of the fourth quarter, 96-95, with 1:20 to go.

Bargnani answered with a 3-pointer for Toronto, but DeMar DeRozan fouled Crawford on a 3-pointer and the Hawks guard made all three at the line to put Atlanta back on top. At the other end, Toronto's Amir Johnson converted a three-point play after being fouled on a layup, and the Raptors led 101-99 with 45 seconds left.

Crawford missed a corner 3 but Amir Johnson was whistled for an offensive foul, giving Atlanta the ball with 10.5 seconds remaining. Bibby took the inbounds pass from Crawford and drilled a 3 from the top with 8.2 seconds to go, putting the Hawks up 102-101.

Toronto gave the ball to Calderon, who lost the ball out of bounds as he drove to the basket. The referees huddled to review the play on video before giving possession to the Hawks. Johnson made a pair of free throws to make it 104-101 with a second to play. Bargnani's long 3 bounced off the rim at the buzzer, and the Italian sunk to his knees in frustration.

Crawford came off the bench to score Atlanta's final 11 points of the first quarter as the Hawks built an early 27-21 lead. Crawford had 11 more in the second, and Johnson scored nine, but Bargnani and Barbosa each answered with 13 for Toronto. Atlanta led 60-55 at the half.

Crawford didn't score in the third, but Barbosa tied it at 72 on a pair of free throws with 2:08 left in the quarter, then gave Toronto its first lead since the first when he stole the ball at midcourt and converted a layup. Toronto led 77-75 going to the fourth.

Notes: Crawford shot 10 for 14 in the first half but just 3 for 9 in the second. ... Sonny Weems dressed but did not play for the Raptors after sitting out the past 11 games because of back spasms. Weems last played Dec. 15. ... Atlanta's Marvin Williams (back) missed his sixth straight game. ... Hawks C Etan Thomas did not travel with the team to Toronto because he was snowed in at his Atlanta home.