CHAPEL HILL, N.C. — Tre Jones got Duke to overtime, and Wendell Moore finished off North Carolina.

They did it with a pair of plays sure to live on in replays and the lore of the fierce rivalry, too.

Jones hit a jumper at the horn to force the extra period, then Moore scored on a putback of Jones’ air-balled jumper as time expired in OT to help the No. 7 Blue Devils top the Tar Heels 98-96 in a wild renewal of the longtime series Saturday night.

“There’s really nothing to put into words,” Jones said with a laugh. “I’m still trying to wrap my head around what happened.”

So was everyone else in the Smith Center.

“What happened in the game, it’s just unreal,” UNC freshman Cole Anthony said.

Duke (20-3, 10-2 Atlantic Coast Conference) rallied from 13 down in the final 4 1/2 minutes of regulation on Jones’ contested shot after he ran down a long rebound on his own intentionally missed free throw. Then the Blue Devils had to rally from five down in the final 20.9 seconds after the Tar Heels had seemingly steadied themselves after looking staggered following Jones’ jumper.

Jones hit a free throw to tie it with 6.6 seconds left in OT only to miss the second, but Moore tapped the rebound beyond the 3-point arc to be recovered by teammate Jordan Goldwire. Jones got the ball and drove to launch an off-balance shot off one foot and missed everything, but Moore flew in behind Christian Keeling to snatch the ball near the left side of the rim and put it right back in.

Two clutch baskets, right at the horn. It was reminiscent of Austin Rivers’ buzzer-beating 3-pointer to win here in 2012, right down to Duke players spilling onto the court from the bench to mob Moore and celebrate in front of a stunned UNC crowd.

““If you don’t care who won the game, you had to enjoy that as a big-time college basketball game,” UNC coach Roy Williams said. “I care who won the game, so I did not enjoy the final outcome.”

Jones had 28 points for Duke, which trailed most of the night and led for only 1:47 of game action. The Blue Devils scored nine straight points in the final 50 seconds of regulation, and then the first six points of overtime.

“We’ve put so much time and effort in and we all have the same mentality at that point,” Jones said, “that we weren’t losing, that we were going to win this game.”

Anthony had 24 points and 11 rebounds for the Tar Heels (10-13, 3-9), who were unexpectedly in control of this one much of the way — only to be undone by missed free throws and an inability to come up with one or two more clutch plays to close it out.