CHARLOTTE, N.C. -- Ramon Sessions hit a 16-footer with 28 seconds left and the Charlotte Bobcats made a late defensive stand to beat the Toronto Raptors 98-97 Wednesday night for their fifth win in the past six games.

The Bobcats led by as many as 10 in the fourth quarter, but the Raptors took the lead after a late run.

Sessions made a jumper from just beyond the foul line that hit the rim twice before falling through to give the Bobcats the lead.

Toronto had four shots to win it, but two resulted in blocks and Andrea Bargnani's baseline jumper fell short as time expired.

Kemba Walker had 19 points and seven assists for the Bobcats, while Sessions and Michael Kidd-Gilchrist each had 14 points.

Bargnani had 25 points and Jonas Valanciunas added 16 points and 10 rebounds for the Raptors.