Curry finished with 25 points.

Dez wells was called for a charging foul — his fifth of the game — and Duke took over with 38.7 seconds left.

Curry's jumper rattled in and out with 30 seconds left, and Maryland's Jake Layman was fouled and made one free throw.

Duke's Rasheed Sulaimon was fouled by Layman behind the arc and his three free throws made it 81-81 with 16.7 seconds left

On the other end, Allen drove the lane and was fouled with 2.8 seconds left. The crowd went almost completely silent as he stepped to the line.

Maryland held Mason Plumlee, Duke's senior leader, to four points. Turgeon said he been poking fun at Len, saying Plumlee had gotten the best of him in the past.

“He treats you like a little brother,” Turgeon said he told Len.

The game offered Maryland, which played a light non-conference schedule, the opportunity to add a badly needed win over a quality opponent as it tries to position itself for an NCAA tournament berth. Maryland's only previous victory over a ranked team this season was against North Carolina State, then ranked No. 14.

Students arrived before the doors opened to the rest of the fans. They rehearsed a flash mob-style dance and practiced cheering without using profanity — a longtime goal of athletic administrators.

Maryland's cheer sheet said: “It's a nationally televised game so let's keep it clean!!!”

Students who arrived early were given free gold, red, black or white T-shirts depending on what section they were in. The shirts — which the university hoped would keep students from wearing ones with profane, Duke-related messages — made Comcast Center as colorful as ever.

Notable Maryland alumni at the game included the Ravens' Torrey Smith, Boomer Esiason, Scott Van Pelt, E.J. Henderson and Sean Mosley.

As is tradition after a big Maryland win over Duke, fans flooded to Route 1 to celebrate. Prince George’s County Cpl. Larry Johnson said there had been two disorderly conduct arrests as of 11 p.m., but a campus police spokesman said “for the most part, it was pretty peaceful.”

Maryland entered having lost six straight and 12 of 13 games to the Blue Devils. Maryland's last victory in the series was three years ago at Comcast Center.

The Terps took a 53-43 lead with 14:41 left. But Duke took advantage of Maryland turnovers to reduce the margin.

Maryland had to decide whether to double-team Plumlee in the low post. Plumlee scored 19 points when the Blue Devils beat the Terps in their first meeting last month.

The Terps often used burly freshman Shaquille Cleare to guard Plumlee by himself. Cleared had leaned on Plumlee effectively last month before getting into foul trouble. Len also guarded Plumlee at times.

The Terps didn't use the same starting lineup they had employed the last three games. They went bigger and younger — starting freshmen Allen, Cleare and Layman.

Allen was making his sixth start. He and Faust were asked to run the point with Howard out.

Curry scored 12 quick points as Duke took a 23-20 lead. But the Terps hung in and led 35-34 at halftime.

Maryland is to leave for the Big Ten in 2014, meaning the Duke-Maryland rivalry is winding down.

“If it was such a rivalry they'd still be in the ACC,” Krzyzewski said. “Obviously they don't think it's that important.”

But it felt important on Saturday.