A New York high school baseball sectional championship ended in a brutal way on Saturday.

Palmyra-Macedon High School was behind one run and down to their final strike in the ninth inning against Hornell in the Section V Class B1 Championship when the impossible happened.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

A baseball on the mound

The game ball on the mound prior to the game between the Marlins and the Washington Nationals at loanDepot park on May 17, 2023, in Miami, Florida. (Jasen Vinlove/Miami Marlins/Getty Images)

Palmyra-Macedon had runners in scoring position when the batter looked at the pitch and was presumably called out on strikes. However, the pitch appeared to graze the dirt, which meant the catcher had to tag the batter or throw the ball to first to complete the out.

Instead, Hornell players began to celebrate.

As the celebration was ongoing, the two Palmyra-Macedon runners came around to score. They would be declared the winners of the championship, 6-5. One of the infielders was seen trying to tell his teammates that the play was still ongoing as he sprinted in the dirt but it was too late.

 INDIANA YOUTH BASKETBALL GAME DESCENDS INTO CHAOS AS PARENT, REF BRAWL

Palmyra-Macedon would celebrate the win as Hornell was left shocked.

"So, is this the way it’s gonna end?" the broadcaster was heard saying.

The Hornell baseball coach was out there trying to get a clarification from the umpire while his players were stunned and held their hands over their heads.

CLICK HERE TO GET THE FOX NEWS APP

A bag of baseballs

Baseballs at the SEC tournament game between the Alabama Crimson Tide and the Florida Gators on May 24, 2023, at Hoover Metropolitan Stadium in Hoover, Alabama. (Michael Wade/Icon Sportswire via Getty Images)

Palmyra-Macedon became back-to-back sectional champions with the win, according to the Rochester Democrat & Chronicle.