Olivier Hanlan and Patrick Heckmann hit 3-pointers in overtime, Lonnie Jackson made four straight free throws in the final 26.2 seconds, and Boston College stunned top-ranked Syracuse, 62-59, last night in Syracuse, N.Y., ending the Orange’s unbeaten season.

Boston College (7-19, 3-10 Atlantic Coast Conference), which had lost five straight, rallied from a 13-point second-half deficit to pull off the improbable upset.

Syracuse (25-1, 12-1) travels to No. 5 Duke on Saturday night.

The Eagles came to town with heavy hearts and a good dose of determination. Longtime basketball media contact and sports information assistant Dick Kelley died last week after a two-year battle with ALS. His funeral was Tuesday and the Eagles, who often visited his apartment, were wearing “DK” patches on their uniforms.

The Eagles, whose only conference win this season was over Virginia Tech, beat a No. 1-ranked team for the third time and first since the 2008-09 season.

Hanlan finished with 20 points and Jackson had 10. Ryan Anderson had nine points and 14 rebounds, but the Eagles won it by going 11-of-22 from behind the arc.