WATCH: Ryan Lochte protester speaks out about rushing the stage on 'Dancing With the Stars'

As Lochte and partner Cheryl Burke received critiques from judge Carrie Ann Inaba, two men wearing anti-Lochte T-shirts rushed the stage, and East Coast viewers witnessed the bizarre turn of events as security tried to remove them from the premises.

Following the incident, the men — identified by E! News as Sam Sododeh, 48, and Barzeen Soroudi, 40 — were detained by security and arrested on trespassing charges, police said. No one was hurt during the protest.

KABC in Los Angeles was able to capture footage of the chaos that the “Dancing With the Stars” cameras missed.

Inaba took to Instagram after the show to thank the security team for keeping everyone safe.

“We had a bit of a scary moment during tonight’s live taping of @dancingabc, but thanks to our security team and incredible staff at #DWTS, no one got hurt. Only positive energy here tonight and always. Thank you. #dancingwiththestars #security #grateful #dwtspremiere #dwts23 #dwtspremiere #premiere,” she wrote.