The New York Knicks finished their disappointing season with a 95-92 victory Wednesday night over the Toronto Raptors, who blew a 21-point lead but earned the No. 3 seed in the Eastern Conference playoffs.

Iman Shumpert of the New York Knicks loses possession of the ball at Madison Square Garden in New York City. (Rich Schultz, Getty Images)

Toronto will host the Brooklyn Nets, who fell to the No. 6 seed, in its playoff opener Saturday.

Cole Aldrich made the tiebreaking dunk with 1:23 left for the Knicks, who won their final four games to finish 37-45. J.R. Smith scored 30 points, while Aldrich finished with 13 points and 16 rebounds.

Kyle Lowry scored 22 points in 26 minutes for the Raptors, who finished 48-34.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)