(AP Photo/Robert Franklin)

Duke’s Grayson Allen missed a three-pointer with 24 seconds left, giving North Carolina plenty of time to get off one final shot trailing 74-73.

This is that one final shot.

Brice Johnson, North Carolina’s leading scorer who had 29 points and 19 rebounds Wednesday night, didn’t take it. Neither did Marcus Paige, the team’s usual go-to guy in such situations. Instead, the honors went to Joel Berry, who finished the night 2 for 12 from the field. As you can see from the video, it just didn’t work at all and the No. 20 Blue Devils escaped the Dean Dome with a 74-73 upset of the fifth-ranked Tar Heels.

Afterward, North Carolina Coach Roy Williams told reporters that he apologized to his team for not calling a timeout to set up a play after Allen’s missed shot. The Tar Heels had three of them left.

“I told them I was sorry, that I should have gotten us a better shot at the end,” he said, via the Associated Press.

“Coach [Dean] Smith taught me — and I believe this, I’m not blaming it on Coach Smith, it’s my call,” Williams added, via ESPN’s C.L. Brown. “I think you should always attack before the defense gets set. I’ve always believed that, always taught that, the way I’ve always played. I told the kids I should’ve called the timeout.

“We didn’t get as good of a shot as I thought we would get but that something I’ve always believed in. I say it’s my fault. If we had to do it all over again tomorrow night I’ll probably do the same thing cause I think that’s the best way to play.”