Well, that is one way to train for your next fight.

Polyana Viana last had a sanctioned fight on August 4, 2018, but it seems she might have been a little anxious to throw down again as earlier this week she got into an unsanctioned fight.

Okay, it wasn’t much of a fight as she came away pretty much unscathed and it wasn’t in the octagon.

The 26-year old was waiting outside her apartment in Rio de Janeiro when she was approached by a man demanding her phone while waving a fake gun. Little did the would-be robber know that he was attacking somebody with Brazilian MMA training.

He quickly found out though when Viana launched a devastating counterattack, connecting with two punches and a kick before subduing him with a choke hold from behind. She would hold him down until police arrived to arrest the thief.

Photos from the alleged incident, reportedly taken by Viana, appeared on UFC president Dana White’s Instagram account showing the assailant’s gruesome injuries.

View this post on Instagram

On the left is @polyanaviana, one of our @UFC fighters and on the right is the guy who tried to rob her #badfuckingidea

A post shared by Dana White (@danawhite) on

If you cannot see the Instagram post, click here.

The Brazilian, who has a 1-1 record in the UFC, received all sort of messages of support from fans, friends, family and other fighters.

She says that nothing has changed following the attempted robbery and the she is back to training while dealing with the flood of attention. However, she does not recommend that others who find themselves in a similar situation doing the same thing.

Since the attempted mugging went down, Viana’s team has confirmed that she will be stepping back into the octagon on March 2 at T-Mobile Arena in Las Vegas to face Hannah Cifers in a women’s strawweight bout at UFC 235.

Viana signed with the UFC in 2017 while on a five-fight winning streak, submitting Maia Stevenson in her debut bout for the promotion at UFC Fight Night 125 last February. Her next fight, which is the bout in August, she dropped a decision to JJ Aldrich for her first loss since 2014.

Cifers will also be looking to bounce back when she takes on Viana. Cifers also came to the UFC on a five-fight streak, but at UFC Fight Night 139 in Denver this past November, she was stopped with a second-round TKO by Maycee Barber.

I am pretty sure it is safe to say that Cifers will give Viana a little bit more of a fight than what the would-be robber did, and probably won’t get as beaten up as he was.