IOWA CITY, Iowa (AP) On the road against one of the best defenses in America, 10th-ranked Penn State won the turnover battle and converted on third downs to survive yet another tough trip to Iowa.

Noah Cain ran for a 5-yard touchdown with 5:17 left and Penn State held off the 17th-ranked Hawkeyes 17-12 on Saturday night, its first win over a ranked opponent this season.

Cain finished with 102 yards for the Nittany Lions (6-0, 3-0 Big Ten), who extended their winning streak over the Hawkeyes (4-2, 1-2) to six games.

''This is a team. You're going to have to earn it,'' Penn State coach James Franklin said about the Hawkeyes. ''The defense has been great all year. We leaned on them heavily.''

A matchup between two of the nation's top defenses turned when Iowa's Nate Stanley threw an interception near midfield with 9:22 remaining. Penn State drove 35 yards on a gassed Iowa defense, and the last of three straight runs by Cain made it 17-6.

The Nittany Lions gained just 294 yards. But they were 10 of 19 on third downs against a defense ranked fourth in scoring defense entering play, and they scored 10 points off of two Iowa miscues.

''We grinded it out,'' Franklin said.

Iowa pulled within 17-12 when Stanley found Brandon Smith for a 33-yard TD pass with 2:31 to go. The Hawkeyes' two-point try failed though, and Cain converted a crucial third down that ensured that Iowa never saw the ball again.

The Hawkeyes have dropped back-to-back games by just 12 points after its first 4-0 start since 2015.

''We're doing the right things. We've just got to do a little better,'' Iowa defensive end A.J. Epenesa said.

Up 7-6 late in the third quarter, Penn State recovered a fumble at Iowa's 16 and Sean Clifford connected on an apparent touchdown pass to Pat Freiermuth that was overturned on review. Iowa then held the Nittany Lions at the 1-foot line, and two straight holding calls forced them to settle for a 33-yard field goal.

KJ Hamler caught seven passes, including an acrobatic 22-yarder for a TD, for Penn State.

Stanley threw for 286 yards, but the Hawkeyes ran for just 70 yards on 30 attempts.

THE TAKEAWAY

Penn State: The Nittany Lions survived their toughest road challenge outside of a trip to Ohio State on Nov. 23. Penn State was on the road against a talented team with a jacked-up crowd, and yet the Nittany Lions were the ones making the plays that made the difference.

Iowa: The Hawkeyes nearly went back-to-back games without a touchdown. Granted, Michigan and Penn State are really good on defense. But Iowa can't continue to lean on its own defense to keep it in games. At 1-2 in the league and with Wisconsin looking like one of the best teams in America, the Big Ten West doesn't look so winnable anymore. ''We've just ended up shooting ourselves in the foot,'' Stanley said.

PIVOTAL MOMENT

Penn State was facing a third-and-10 at Iowa's 35 after Stanley's interception. But Clifford broke right on an option, kept it, burst through a hole and gained 11 yards to extend what proved to be the game's winning drive. ''He didn't necessarily play his best game. But he was gutsy,'' Franklin said. ''That was a big-time play.''

THE NUMBERS

Clifford was 12 of 24 for 117 yards, snapping his streak of five straight games with at least 200 yards passing. ... Freshman Tyler Goodson led Iowa with 35 yards rushing, though he lost a fumble that won't help his chances of winning the starting job. Starter Mekhi Sargent had just 18 yards on nine tries. ... Penn State punter Blake Gillikin placed five of his seven kicks inside Iowa's 20-yard line. ... Iowa, which at one point this season went three games without a turnover, fumbled three times and lost one. ... Penn State has 52 points off of turnovers through six games.

HE SAID IT

''I've got confidence in our football team,'' Iowa coach Kirk Ferentz said. ''We didn't play good enough this week or last against two really good football teams. I think we have a good team.''

POLL IMPLICATIONS

Penn State might move up a few spots. Iowa might struggle to hang onto its spot in the Top 25 after back-to-back losses.

UP NEXT

Penn State hosts Michigan on Oct. 19.

Iowa hosts Purdue next Saturday.

---

More AP college football: https://apnews.com/tag/Collegefootball and https://twitter.com/AP-Top25

Copyright 2019 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.