STATE COLLEGE, Pa. (AP) — The crowd roared while Iowa's opponent surged late in front of friendly fans — a scene all too familiar in recent weeks.

But this time, the Hawkeyes pulled out a close one on the road while facing adversity.

Devyn Marble scored 22 points and went 3 of 4 from the foul line in the game's waning seconds, and Melsahn Basabe blocked a potential game-tying layup by Jermaine Marshall with 22 seconds left to help Iowa hold off Penn State 74-72 on Thursday night.

"Phenomenally proud. We've had a number of tough games that we didn't close," Hawkeyes coach Fran McCaffery said. "We didn't play perfectly down the stretch, but we made enough free throws, made enough plays."

Iowa (16-9, 5-7 Big Ten) led by at least 10 twice in the game but couldn't put away the league's last-place team until late.

Penn State wasted an inspiring effort from lead guard D.J. Newbill, who finished with 26 points on 11-of-20 shooting and eight rebounds. Marshall added 10 assists and finished with 14 points, but went just 3 of 13 from the field.

The Nittany Lions (8-16, 0-12) went 0 for 2 from the field in the last 30 seconds with a chance to tie or take the lead, capped by Basabe's block of Marshall's drive to the paint.

Marble was fouled on the ensuing inbounds and hit two foul shots for a four-point lead with 20.9 seconds left.

Penn State had one last chance, down three with 1.5 seconds left and Marshall on the foul line. Marshall hit both shots, but the Nittany Lions whiffed on a chance for a game-tying putback if Marshall had missed at the line.

"We tried to miss the free throw there and we made it. The ones we tried to make we missed," Penn State coach Patrick Chambers said. "Look, you've got to stay positive."

But it's the Hawkeyes who can fly back to Iowa City breathing a collective sigh of relief.

Five of Iowa's seven Big Ten losses have come by four points or less. The Hawkeyes snapped a four-game conference road losing streak, with two of the last three coming in overtime periods, and the other a three-point loss to Minnesota.

They nearly let this one slip away, too.

Instead, Marble and Masabe were able to help Iowa hold on down the frantic stretch for its first win in Happy Valley since 2006. Basebe finished with 11 points, six rebounds and four blocks.

"Do you expect anything else in this league?" McCaffery said when asked about the Nittany Lions' multiple comebacks. "It's really hard to get major separation."

That was never more evident than in the final few minutes of the Valentine's Day nightcap, with sprinkles of red sticking out among the mainly blue-and-white fans in the stands.

They roared when Sasa Borovnjak's three-point play drew the Nittany Lions within 70-67 with 1:55 left before a foul shot by Marshall cut the lead to two.

With the game on the line, the Hawkeyes put the ball in the hands of Marble, who scored 14 after halftime. Marble finished with his second straight 20-point game after going two months without one.

"It was only a matter of time. He was in a little bit of a slump," McCaffery said. "I kept going to him down the stretch, to make free throws."

The junior let the shot clock wind down to 10 on a late possession but lost the ball on the drive to the basket. Still, Penn State couldn't convert in transition after Newbill missed a 3 with 35 seconds left.

At least Penn State played with its trademark hustle most of the night. The team hasn't won a conference game yet, though Chambers says his players are staying positive.

"I know we're struggling right now, but that's what you're going to see," Chambers said about the never-say-die attitude. "Our time is coming. The ball will bounce our way."

Borovnjak added 14 points for Penn State, which was forced to look for other options much of the second half with Newbill facing an array of double teams and defensive switches.

Penn State clawed back from two double-digit deficits, the last one down the stretch with the help of scrappy play by two unheralded walk-ons seeing more time of late. Kevin Montminy hit a 3 before 6-foot-9 forward Alan Wisniewski had a block and helped force Iowa into a shot-clock violation in a 7-0 run that got the Nittany Lions within 62-59 with 6:29 left.

The Nittany Lions went 8 of 17 from 3-point territory, a season-high in conference play, but lost the rebounding edge 40-29.

The lower-division Big Ten teams traded scoring spurts in a chippy and entertaining first half that ended with Aaron White hitting a 3 from the corner before the halftime buzzer to give the Hawkeyes a 38-34 lead.