SOUTH BEND, Ind. — Ian Book ran 7 yards for a touchdown with 29 seconds left in the fourth quarter to cap an 18-play, 87-yard drive and No. 16 Notre Dame pulled out a 21-20 victory against Virginia Tech on Saturday.

The Fighting Irish (6-2) had committed three turnovers deep in Virginia Tech territory, including a fumble at the goal line that Divine Deablo returned for a 98-yard touchdown to tie the game at 14 with 9 seconds left in the first half. The Hokies (5-3) added a couple of field goals in the second half and the Irish missed one, leaving Notre Dame trailing by six with 3:19 remaining and the ball at its 13.

Book led a methodical drive, converting two fourth downs, including a fourth-and-10 from the Tech 33 for 26 yards to Chase Claypool that gave the Irish first-and-goal from the 7. After two incomplete passes, Notre Dame caught Virginia Tech in a blitz. Book ran away from it and darted into the end zone. Jonathan Doerer booted through the PAT for the lead, Kyle Hamilton picked off a long pass by Quincy Patterson around midfield to end the Hokies' final possession and the Irish averted a two-game losing streak.

Book passed for 341 yards and two touchdown.

Patterson got the start for Virginia Tech at quarterback in place of Hendon Hooker, who had started the three previous victories but suffered a knee injury in Virginia Tech's 43-41 six-overtime victory over North Carolina two Saturdays ago.

Patterson ran for 77 yards on 19 carries and completed 9 of 28 passes for 139 yards and an 8-yard touchdown to Damon Hazelton in the second quarter.