Jarren Williams hit K.J. Osborn for a 32-yard touchdown pass with 58 seconds remaining to rally Miami to a 16-12 victory over Pittsburgh on Saturday. Williams, who entered midway through the fourth quarter for starter N'Kosi Perry, drove the Hurricanes 62 yards in nine plays, the last a short toss to Osborn that Osborn turned into his fifth touchdown of the season. Pitt's last-gasp drive ended with a pair of dropped passes, a sack and a wayward throw by Kenny Pickett on fourth down. Miami (4-4, 2/3 Atlantic Coast Conference) sputtered for most of the afternoon, relying heavily on three early Pitt turnovers that allowed the Hurricanes to take a 10-6 halftime lead. Miami trailed 12-10 late in the fourth quarter when Williams entered for Perry. Williams' first drive ended with a punt. His second may have changed the trajectory of his team's season.The Hurricanes took over with 4:01 to play and needed a fourth-down conversion to keep the drive alive. Williams, however, appeared to gain confidence with each snap. His strike to Osborn helped Miami get back to .500. Williams completed 4 of 8 passes for 50 yards and the touchdown as Miami won on a day it managed just 208 yards of total offense. Perry, named the starter on Friday after playing through a separated left shoulder in a loss to Georgia Tech last week, completed 10 of 24 passes for 104 yards and an interception before giving way to Williams. Cam'Ron Harris ran for 60 yards for Miami, including a 1-yard dive in the second quarter following Pitt's third turnover in the opening 16 minutes. - Miami/AP College Football