Virginia Tech had done it. They had pulled off a major upset over the No. 7 ranked Miami Hurricanes on a walk-off Hail Mary on the road – at least they thought they had.

With three seconds left, down 38-34, Hokies quarterback Kyron Drones threw a prayer into the back of the endzone towards a swath of both Hokies receivers and Hurricanes defenders

It was unclear who came down with the ball initially, as both teams got up celebrating thinking they had won the game. Eventually, the referees signaled it was a touchdown catch by Da’Quan Felton, giving what the Hokies thought was a 40-38 victory as time expired.

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

Tyler Rowe with ball

Virginia Tech wide receiver DaQuan Felton (9) catches the ball in the end zone along with Miami defensive back Tyler Rowe (43) and Miami defensive back Mishael Powell (0) on September 27, 2024, at Hard Rock Stadium in Miami Gardens, FL.  (Doug Murray/Icon Sportswire via Getty Images)

However, after a lengthy review, the call on the field was overturned. The pass was ruled incomplete, and the Hurricanes escaped with a 38-34 victory. 

Hokies wide receiver Stephen Gosnell aired out his frustrations about the overturned call on X following the loss. 

"(The) Acc knows what they did. I wanna see consequences," Gosnell wrote. 

VIRGINIA TECH’S WALK-OFF HAIL MARY TOUCHDOWN REVERSED AFTER REVIEW; NO. 7 MIAMI AVOIDS UPSET

Tyler Rowe sprints

Tyler Rowe, #43 of the Miami Hurricanes, saves the ball in the end zone during the final seconds of the game against the Virginia Tech Hokies at Hard Rock Stadium on September 27, 2024, in Miami Gardens, Florida. (Michael Pimentel/ISI Photos/Getty Images)

The ACC released a statement following the game about the replay review process for overturning the touchdown call. 

"During the review process of the last play of the Virginia Tech at Miami game, it was determined that the loose ball was touched by a Miami player while he was out of bounds which makes it an incomplete pass and immediately ends the play," the statement said.

Gosnell was in the end zone fighting for the ball on what would have been the game-winning touchdown had the call on the field stood. 

CLICK HERE TO GET THE FOX NEWS APP

Mario Cristobal celebrates

Miami Hurricanes Head Coach Mario Cristobal celebrates after winning the game against the Virginia Tech Hokies at Hard Rock Stadium on September 27, 2024, in Miami Gardens, Florida.  (Michael Pimentel/ISI Photos/Getty Images)

The loss dropped the Hokies to 2-3 on the season, and they will look to bounce back when they travel to play Stanford next week. 

Miami improved to 5-0 with the win and will also be traveling out west to play Cal next week.

The Associated Press contributed to this report. 

Follow Fox News Digital’s sports coverage on X, and subscribe to the Fox News Sports Huddle newsletter.