A New York state high school basketball title was clinched in a most improbable way on Sunday.

New Rochelle defeated Mt. Vernon 61-60 in the Section 1 Class AA final this weekend. The victory came after New Rochelle’s Khalil Edney made a buzzer beater from beyond half court. The Huguenots trailed by two points with 2.9 seconds remaining in the contest, but Edney made the shot attempt that was between 55 and 60 feet long.

Edney inbounded the ball on the baseline, under the opposing team’s basket. His initial pass was intercepted, and the game seemed to be over. The Mt. Vernon player that stole the ball threw it up in the air, hoping that time would expire. He didn’t throw it high enough, though, as Edney swooped in and grabbed the ball, then proceed to make a one-handed heave that turned into the game-winning bucket.

The shot was initially ruled to be no good. After the initial confusion, the officials reversed the decision and gave New Rochelle the victory.

Edney talked about the end of the game with "Boomer and Carton" on WFAN.

“The pass got intercepted, and then the kid on (Mount Vernon) threw the ball up and celebrated, but the time didn’t run out,” said Edney. “So I just grabbed the ball and I just threw it.”

Fans rushed the court after the three-pointer went in. Edney didn’t even know the basket didn’t count, at first, because of all the excitement.

“I didn’t see (the refs’ discussion) because my team was so excited that I made it, so I was at the bottom of a pile,” said Edney. “One of our assistant coaches came over and said the refs didn’t count (the shot). … The next thing you know, the other team’s on the floor crying, and they said it counted.”

In less than one day, video of the shot surpassed one million views on YouTube. You can watch the buzzer-beater below.