Lance Guidry was flagged for unsportsmanlike conduct during a key sequence of Miami’s 41-31 loss to North Carolina in Week 7.

Facing a 4th down, Guidry was assessed the penalty after he appeared to enter the playing field and lose his composure while talking with officials. The flag gave the Tar Heels an important first down and helped them tie the game at 14-14 later in the drive.

On Monday, Guidry told reporters that he was angry because he didn’t believe an official had stopped the game to allow Miami to substitute after North Carolina changed personnel. However, Guidry acknowledged that he was wrong — there was an official standing over the ball to allow Miami time to make changes.

Guidry apologized for the mistake.

“Well earlier in the game, the official came from the offensive side to stop (and) went over the center and stopped (play),” Guidry said. “Usually, that’s where it comes from. So we were trying to change personnel. I was trying to get out of nickel and go into base defense because they changed personnel. So [the officials] are supposed to stand over the ball and give us time.

“I never saw the official was behind our defense, was on our side of the ball. They didn’t come from the other side. So I ran on the field, calling timeout. I think I got dinged because I took my headset off. I was angry. So, that was on me. I shouldn’t have done that, I didn’t see him. I looked back on film, and he was there. So they were right, I was wrong. I apologize.”

Here’s video of the incident:

Miami still took a 17-14 lead into halftime, but the Canes couldn’t keep their lead in the second half. North Carolina’s offense was too much for Miami with Tez Walker and Omarion Hampton both having big games.

Head coach Mario Cristobal also addressed Guidry’s error on Monday.

“There’s no excuse for it. He knows that and obviously, he feels terrible about it,” Cristobal said in-part.

Miami will be chasing its first ACC win of the season this weekend vs. Clemson.