NEW YORK, NY - SEPTEMBER 20: Conor McGregor is held back by UFC President Dana White during the UFC 229 Press Conference at Radio City Music Hall on September 20, 2018 in New York City.  (Photo by Steven Ryan/Getty Images)
Steven Ryan/Getty Images North America/Getty Images
NEW YORK, NY - SEPTEMBER 20: Conor McGregor is held back by UFC President Dana White during the UFC 229 Press Conference at Radio City Music Hall on September 20, 2018 in New York City. (Photo by Steven Ryan/Getty Images)
Now playing
04:09
Dana White on Conor McGregor & Anthony Joshua
Alex Caparros/Getty Images Europe/Getty Images
Now playing
01:42
FC Barcelona joins soccer documentary craze
Dunking Devils
Now playing
01:13
Jumping on a trampoline suspended 100 ft in the air
Emirates Team New Zealand's AC75 Te Aihe on the Waitemata Harbour in Auckland, New Zealand
36th America's Cup
Emirates Team New Zealand
Emirates Team New Zealand's AC75 Te Aihe on the Waitemata Harbour in Auckland, New Zealand 36th America's Cup
Now playing
01:44
The newest high-tech America's Cup "flying" yachts
FRANCK FIFE/AFP/AFP via Getty Images
Now playing
02:15
Megan Rapinoe's iconic 2019
Tottenham Hotspur's Portuguese head coach Jose Mourinho (R) and Tottenham Hotspur's assistant head coach Joao Sacramento (L) react on the touchline during the English Premier League football match between Tottenham Hotspur and Chelsea at Tottenham Hotspur Stadium in London, on December 22, 2019. (Photo by Glyn KIRK / IKIMAGES / AFP) / RESTRICTED TO EDITORIAL USE. No use with unauthorized audio, video, data, fixture lists, club/league logos or 'live' services. Online in-match use limited to 45 images, no video emulation. No use in betting, games or single club/league/player publications. (Photo by GLYN KIRK/IKIMAGES/AFP via Getty Images)
GLYN KIRK/AFP/IKIMAGES/AFP via Getty Images
Tottenham Hotspur's Portuguese head coach Jose Mourinho (R) and Tottenham Hotspur's assistant head coach Joao Sacramento (L) react on the touchline during the English Premier League football match between Tottenham Hotspur and Chelsea at Tottenham Hotspur Stadium in London, on December 22, 2019. (Photo by Glyn KIRK / IKIMAGES / AFP) / RESTRICTED TO EDITORIAL USE. No use with unauthorized audio, video, data, fixture lists, club/league logos or 'live' services. Online in-match use limited to 45 images, no video emulation. No use in betting, games or single club/league/player publications. (Photo by GLYN KIRK/IKIMAGES/AFP via Getty Images)
Now playing
01:26
Jose Mourinho on racism: "Football needs help"
 A woman dressed as Zwarte Piet (Black Piet) takes part in the arrival of Sinterklaas (Saint Nicolas) during the traditional move-in 'Intocht Sinterklaas' event in Groningen, Netherlands, on November16,  2013. Zwarte Piet is the companion of Saint Nicolas during a yearly feast celebrated on the evening of 5 December. It was announced in October 2013 that the United Nations, under the authority of the High Commissioner for Human Rights, were to investigate whether Zwarte Piet is a racist stereotype. AFP PHOTO/ANP REMKO DE WAAL netherlands out         (Photo credit should read REMKO DE WAAL/AFP via Getty Images)
AFP/AFP/AFP via Getty Images
A woman dressed as Zwarte Piet (Black Piet) takes part in the arrival of Sinterklaas (Saint Nicolas) during the traditional move-in 'Intocht Sinterklaas' event in Groningen, Netherlands, on November16, 2013. Zwarte Piet is the companion of Saint Nicolas during a yearly feast celebrated on the evening of 5 December. It was announced in October 2013 that the United Nations, under the authority of the High Commissioner for Human Rights, were to investigate whether Zwarte Piet is a racist stereotype. AFP PHOTO/ANP REMKO DE WAAL netherlands out (Photo credit should read REMKO DE WAAL/AFP via Getty Images)
Now playing
02:34
Wijnaldum on 'Black Pete': 'I don't stand behind that culture'
Vegan burgers are here to stay. Now it's not just skinny hippies chowing down. Elite athletes have started championing a plant-based diet.
Steffi Loos/Getty Images Europe/Getty Images
Vegan burgers are here to stay. Now it's not just skinny hippies chowing down. Elite athletes have started championing a plant-based diet.
Now playing
01:49
'Game Changers' wants to take away your burger, but only if you consent
Nick Butter / Instagram
Now playing
03:59
Meet the man who ran a marathon in all 196 countries in the world
Dufton halfway up the Old Man of Hoy.
Alastair Lee/Posing Productions 2019
Dufton halfway up the Old Man of Hoy.
Now playing
02:13
Blind climber Jesse Dufton pushes boundaries
DES MOINES, IA - AUGUST 10: Democratic presidential candidate Andrew Yang speaks during a forum on gun safety at the Iowa Events Center on August 10, 2019 in Des Moines, Iowa. The event was hosted by Everytown for Gun Safety. (Photo by Stephen Maturen/Getty Images)
Stephen Maturen/Getty Images
DES MOINES, IA - AUGUST 10: Democratic presidential candidate Andrew Yang speaks during a forum on gun safety at the Iowa Events Center on August 10, 2019 in Des Moines, Iowa. The event was hosted by Everytown for Gun Safety. (Photo by Stephen Maturen/Getty Images)
Now playing
02:57
Andrew Yang hoops it up with NBA legend Dominique Wilkins
LONDON, ENGLAND - MAY 13: Les Ferdinand is seen prior to the Sky Bet Championship Play off semi final 1st leg match between Fulham and Reading at Craven Cottage on May 13, 2017 in London, England.  (Photo by Harry Hubbard/Getty Images)
Harry Hubbard/Getty Images Europe/Getty Images
LONDON, ENGLAND - MAY 13: Les Ferdinand is seen prior to the Sky Bet Championship Play off semi final 1st leg match between Fulham and Reading at Craven Cottage on May 13, 2017 in London, England. (Photo by Harry Hubbard/Getty Images)
Now playing
04:19
Les Ferdinand criticizes FIFA and UEFA for inaction on racism
(CNN) —  

Former two-time UFC champion Conor McGregor admits he was “in the wrong” following an altercation in a pub in Dublin in April.

A video released on social media earlier in August appeared to show the Irishman punching a man in the head inf the Marble Arch pub in Dublin.

But in an interview with ESPN, the 31-year-old says that watching the video back is “like a dagger into my heart.”

“I must take accountability and take responsibility,” McGregor said.

“It doesn’t matter what happened there – I was in the wrong. That man deserved to enjoy his time in the pub without having it end the way it did.”

READ: ‘I try to honor the people that I’ve lost,’ says Daniel Cormier

Accepting his punishment

The matter is under investigation by police and McGregor, who announced his mixed martial arts retirement in March, says he will accept whatever punishment is handed out.

McGregor sits on the mat in the octagon after being defeated by Khabib Nurmagomedov.
Harry How/Getty Images North America/Getty Images
McGregor sits on the mat in the octagon after being defeated by Khabib Nurmagomedov.

“Whatever comes my way, I will face it,” McGregor added. “Whatever comes my way, I deserve it. I will face this head on. I will not hide from it.

“I must be calm. I must be Zen. I must lead by example. I need to get a hold of this, and I am working very hard to do this.

“I am taking the necessary steps.”

READ: Demetrious ‘Mighty Mouse’ Johnson is a MMA fighter – and hardcore gamer

Moving forward

The incident in Dublin took place a month after McGregor was arrested for allegedly smashing a fan’s phone in Miami, USA.

Florida prosecutors dropped all charges against the Irishman, after saying the accuser stopped cooperating and the state could no longer prove the charges.

McGregor says he hopes to learn from his problems for the benefit of the people around him.

McGregor and Conor McGregor Jr. attend Super Bowl LIII in Atlanta, Georgia.
Maddie Meyer/Getty Images North America/Getty Images
McGregor and Conor McGregor Jr. attend Super Bowl LIII in Atlanta, Georgia.

“I have been making amends to be better - to be a better father, be a better human, to be a better role model to these kids,” he said.

Visit CNN.com/sport for more news, features, and videos

“I have to realize that is not the attitude or behavior of a leader, of a martial artist or a champion. I must get my head screwed on and get back in the game, fight for redemption, retribution, respect - the things that made me the man I am.

“I was completely in the wrong. It was unacceptable behavior.”