PORTLAND, Maine -- Louis Williams made a 3-pointer with 0.6 seconds left to give the Toronto Raptors a 92-89 victory over the Boston Celtics in an exhibition game Wednesday night.

Jordan Hamilton led the Raptors (4-1) with 16 points, Williams added 15, and Terrence Ross and Patrick Patterson each had 12.

Marcus Thornton scored 17 points in 17 minutes for the Celtics (2-3). Avery Bradley added 13 points.

A crowd of 5,909 attended the game at Cumberland County Civic Center.