Sofia Vergara Gets Mad at Simon Cowell After This AGT Prank

YouTube Sofia Vergara on "America's Got Talent."

Sofia Vergara is not happy with Simon Cowell.

Last week, Cowell pulled a prank on the “Modern Family” star during an episode of “America’s Got Talent” that left her visibly upset. She even jokingly threatened revenge.

What was the prank that set her off? How did Cowell react to her anger?

Here’s what you need to know:

Vergara: ‘You Know We Take Revenge’

In the video, Cowell enlisted the help of former duo act Ryan Stock and Amberlynn. When the prank kicked off, the team invited Cowell and Vergara onstage to help them with a daring performance.

Cowell was told to stand near a white balloon, and Vergara was blindfolded and told to shoot a crossbow in Cowell’s direction. Little did the blindfolded Vergara know, Cowell had some AGT crewmembers stick an arrow into his chest so that when Vergara shot the arrow and took the blindfold off, she’d think she struck Cowell in the heart.

In the video, after Cowell fell and there were gasps from the audience, the camera panned to Vergara, who took her blindfold off and looked completely horrified. Within seconds, however, Cowell smiled and told Vergara, “Gotcha!”

That’s when Vergara piped up, “You know I’m Colombian and you know we take revenge.”

Cowell replied, “What? You just did!”

Vergara Gives Out a Golden Buzzer

Last week, Vergara gave her Golden Buzzer to Jimmie Herrod.

The 30-year-old vocalist sang “Tomorrow” from the musical “Annie.”

Before the performance even began, Cowell said that the song is his least favorite song, but Herrod admitted he didn’t have a backup song and went ahead with “Tomorrow.”

In the words of GoldDerby, “After just one line of the song, Simon’s eyes opened wide and it was immediately clear that the fret on his face was turning to surprise and then joy.”

Howie Mandel, Heidi Klum and Cowell all stood up during the ballad, praising Herrod’s vocal abilities. Vergara, however, stayed seated, causing others to wonder whether or not she enjoyed it.

When it was her turn to speak, Vergara threw everyone for a loop by telling Herrod, “I didn’t like it. I loved it!,” before smacking the Golden Buzzer.

Earlier this season, Mandel handed his Golden Buzzer out to the Northwell Health Nurse Choir, Cowell did the same for Ohio’s Nightbirde and Terry Crews gave his to World Taekwondo Demonstration Team.

Nightbirde, 30, sang an original song called, “It’s OK.” She revealed before singing that she has been dealing with cancer, and “last time [she] checked,” the cancer was still in her lungs, spine and liver.

After Nightbirde sang, Mandel shared, “It’s funny because singers come on and, and I, and I think about authenticity, that you know when you feel it, when it moves you. That felt like the most authentic thing I have heard this season.”

Cowell added, “Your voice is stunning. Absolutely stunning! And I, I totally agree with what Howie said. You know, about authenticity. There was something about that song and the way you just almost casually told us what you’ve been going through.”

It was at that point that Cowell hit the Golden Buzzer, sending Nightbirde forward in the competition.