MIAMI, March 8 (Ticker) -- In the second half, the Miami Heat looked like the team that had not won in a month.

Antonio Davis had 23 points and 10 rebounds and Vince Carter scored 11 of his 16 points in the second half as the Toronto Raptors dominated the final 24 minutes and snapped a 13-game losing streak with an 83-74 victory over the Heat.

Miami was on its way to being the latest team to hand Toronto a loss after shooting 65 percent (20-of-31) in the first half and opening a 51-44 edge.

But after one of their better first halves, the Heat turned in their worst second-half performance of the season.

NBA TV highlights from
56k | 300k

Vince Carter finds heated resistance in Miami on Friday.
Victor Baldizon
NBAE/Getty Images
"It was just terrible," Miami coach Pat Riley said. "It started with turnovers and once (the Raptors) got up, they were just not going to be denied. They just became better and better."

Miami committed six turnovers in the first five minutes of the third quarter and quickly surrendered the lead. The Heat made just 2-of-11 shots and scored a season-low 11 points in the period.

After Alonzo Mourning opened the quarter with two free throws, the Raptors went on an 18-7 run highlighted by six points from Carter.

The Raptors took the lead for good, 59-58, on a free throw from Davis with 5:03 left and took a 64-62 lead into the fourth quarter.

The Raptors scored the first seven points of the final period -- all on free throws -- to take their largest lead at 78-63 with 6:01 left.

Miami climbed within 78-70 on a hook shot by Jimmy Jackson with 3:11 to go, but Carter responded with a 3-pointer to secure Toronto's first victory since February 7.

"That's not a monkey off my back, that's a gorilla," Toronto coach Lenny Wilkens said. "The guys have been disappointed that they haven’t been playing well. Tonight was a great win. We needed to get a win and to do it on the other team's court when they have been playing well is big."

"It felt like I was dreaming," Raptors forward Jerome Williams said. "Finally it's over and we can move on and we can go back to playing basketball without the burden of a losing streak on our heads and not having the whole NBA watching us (wondering if) we are going to lose another one."

Carter, who was limited to six minutes in the first half because of foul trouble, made 7-of-13 shots and sank both his attempts from beyond the arc.

"It is the first step to getting us back to the playoffs," Carter said. "We had a meeting the other night, we talked about saving ourselves, keeping our sanity and figuring out what we had to do on the court. A win is what we needed, a win is what we wanted, and a win was going to get us over the hump and back to where we should be."

Toronto shot just 40 percent (32-of-81) but scored 21 points off 23 Miami turnovers and avoided the second-longest losing streak in franchise history.

The Heat, who had a four-game winning streak snapped, made only 6-of-31 shots and managed a season-low 23 points in the second half.

"We had a lack of force and made poor choices," Riley said. "I think half of the turnovers were unforced, just making poor decisions. We had guys that were just standing around tonight, it was a bad offensive game for us."

Eddie Jones scored 22 points and Mourning added 16, nine rebounds and four blocks for Miami. Mourning had seven turnovers, the most by a Heat player this season.

"We stopped doing the things we did in the first half that got us the lead," Mourning said. "It's not what they did, it's what we did to ourselves. Twenty-two turnovers and I had seven of them. Most of them were three-second calls. We made a lot of mistakes. You can't make a lot of mistakes and expect to win."

Brain Grant collected 10 points and 14 rebounds for Miami, which lost for just the third time in 13 home meetings with Toronto.

The Raptors moved within one game of the Charlotte Hornets and Indiana Pacers, who share the eighth final playoff spot in the Eastern Conference.