Miami players run onto the field to celebrate their 30-27 win over Duke in the final seconds.

Bernard Thomas The Herald-Sun via AP

DURHAM, N.C. (AP) -- Corn Elder took Miami's eighth lateral of a wild final kickoff return and brought it back 75 yards for a touchdown that gave Miami a 30-27 victory over No. 22 Duke on Saturday night.

Thomas Sirk seemingly had given the Blue Devils the win by scoring on a sneak with 6 seconds left.

More from FoxSports

But in a final sequence reminiscent of California's unforgettable run through the Stanford band, Elder caught the last of eight laterals, and zigged and zagged through the Duke coverage team for the score.

One problem: A penalty flag thrown on teammate Mark Walton for an illegal block in the back on Breon Borders at the Duke 25.

But after a lengthy review, the officials determined the block was to Borders' side -- not his back -- and the touchdown stood.