IOWA CITY, Iowa -- With all hope apparently lost, Iowa turned to James Vandenberg and asked the junior to start chucking it.
Vandenberg responded by engineering the biggest comeback in Hawkeyes' history.
Vandenberg threw three touchdown passes in the fourth quarter and Iowa rallied from a 17-point deficit with just over 12 minutes left to stun Pittsburgh 31-27 on Saturday.
Vandenberg threw for 399 yards -- including 162 in the fourth quarter -- and he completed the Hawkeyes' rally with a 22-yard TD pass to Kevonte Martin-Manley with 2:51 left.
Iowa (2-1) trailed 27-10 early in the fourth quarter. But Vandenberg threw TD strikes of 14 yards to Keenan Davis and 25 yards to Martin-Manley to bring the Hawkeyes within three, then found a leaping Martin-Manley for the go-ahead score.
Iowa's Micah Hyde picked off Pittsburgh quarterback Tino Sunseri with 1:41 left to cap a wild win for the Hawkeyes (2-1), who narrowly avoided their worst start in 11 years.
Sunseri had 255 yards passing for the Panthers (2-1), who looked to have locked up a key road win more than once before they were torched by a resurgent Vandenberg.
The Panthers led by as much as 24-3 on Sunseri's 4-yard TD pass to Drew Carswell with 3:11 left in the third quarter. Vandenberg moved the Hawkeyes 60 yards in under two minutes and scored on a 1-yard plunge to make it 24-10 -- but Pitt answered with a long drive capped by Kevin Harper's 24-yard field goal with 12:09 to go, putting Iowa three scores behind again.
Given how stagnant Iowa's offense had looked to that point, the Hawkeyes didn't seem to have enough left to make it close, let alone escape with a much-needed win.
But Vandenberg cut Pitt's lead to 27-17 with 9:55 left, finding Davis for a 14-yard score. The Panthers moved to Iowa's 36-yard line but were stopped on fourth down, leaving the door open for Vandenberg to lead the Hawkeyes right back down the field.
Iowa caught a break when Pittsburgh's Buddy Jackson was called for pass interference on a key third down. Two plays later, Vandenberg hit Martin-Manley from 25 yards out to make it 27-24 with 6:19 left.
The Hawkeyes forced another quick punt, and Vandenberg drove the Hawkeyes 64 yards in just 1:31 before capping the comeback with a 22-yard TD toss to Martin-Manley.
Davis had 10 catches for 129 yards and Marvin McNutt added 112 yards receiving for Iowa, whose 21-point rally topped its 18-point comeback against Oregon in 1949.
For most of the afternoon, it looked as Pitt had little to worry about.
The Panthers opened the second half up 10-3, and used some trickery to extend the lead.
Pitt made it 24-3 just three minutes later, and some Iowa fans headed for the exits certain Iowa would be 1-2 for the first time since 2000.
The ones who stayed rushed the field at the final whistle, as the Hawkeyes bounced back from a 44-41 triple-overtime loss at Iowa State in a manner few thought possible.
Devin Street had seven catches for 138 yards and Ray Graham rushed for 97 yards for the Panthers.
Ohio State jumps over Clemson to No. 3 in poll
Ohio State edged past Clemson to No. 3 in The Associated Press college football poll and Wisconsin dropped to 13th after being upset ahead of its showdown with the Buckeyes.
AP Top 25 poll reaction -- What's next for each ranked team
The new AP Top 25 poll is out, and here's what's on the horizon for every ranked team.
Alabama QB Tua Tagovailoa undergoes surgery for high-ankle sprain
Alabama quarterback Tua Tagovailoa will miss Saturday's game against Arkansas after undergoing surgery to help repair a high-ankle sprain he suffered against Tennessee.
Finebaum: Michigan shouldn't embrace moral victories with Harbaugh
Paul Finebaum and Emmanuel Acho voice their frustrations with Jim Harbaugh's struggles in big games at Michigan.
How Wisconsin's loss impacts the Big Ten's hopes for the CFP
Ohio State provides the best chance for the conference to reach the CFP. But Penn State, Minnesota and even the Badgers still have possibilities.
Air Force's INT you have to see to believe leads to 92-yard TD
Air Force's Grant Theil bounces a pass off several parts of his body into the hands of Milton Bugg III, who returns the interception 92 yards for a touchdown.