BOSTON (AP) -- Jared Sullinger scored 25 points and grabbed a career-best 20 rebounds, Avery Bradley had 20 points and the Boston Celtics held on to snap a nine-game losing streak with an 88-83 victory over the Toronto Raptors on Wednesday night.

Jeff Green scored 13 points and Kris Humphries 12 for the Celtics, who nearly blew an 18-point, second-half lead.

Sullinger's 20-20 was the first by a Celtics player since Kevin Garnett's first game in Boston in 2007. Garnett was dealt -- along with Paul Pierce -- to Brooklyn during the offseason.

DeMar DeRozan scored 23 points and Kyle Lowry had 18 with 12 assists for Toronto, which lost for just the third time in 11 games.

Trailing 73-56 entering the final quarter, the Raptors scored 18 of the first 22 points to close the gap to 77-74 on Steve Novak's 3 from the left corner with 4 1/2 minutes to play. Boston missed 13 of its first 15 shots in the opening eight minutes of the fourth.

The Raptors nailed three 3-pointers as they made their charge, with Novak hitting two and John Salmons the other.

After Toronto cut it to three, Green scored on a drive, hit one free throw and Sullinger nailed two from the line and Boston had enough to hold off the Raptors.

Toronto had it down to 81-78, but DeRozan lost the ball on a drive with about 40 seconds left.

Sullinger went 4 or 4 from the line in the final 30 seconds.