UFC great Conor McGregor announced Sunday he will be returning to the Octagon in 2024.

McGregor posted a video on X, showing himself at a restaurant and sipping wine. He leaned into the camera and gave some details about his fight plans. McGregor said he will take on Michael Chandler.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Conor McGregor in Riyadh

Conor McGregor is ringside for the heavyweight fight between Tyson Fury and Francis Ngannou at Boulevard Hall on Oct. 28, 2023, in Riyadh, Saudi Arabia. (Justin Setterfield/Getty Images)

"I would like to announce the return date for myself, the ‘Notorious’ Conor McGregor. The greatest comeback of all time will take place in Las Vegas for international fight week on June 29th.… And the opponent, Michael Chandler. And the weight, Mr. Chandler, 185 pounds," he said.

The two were team captains for UFC's most recent season of "The Ultimate Fighter."

McGregor has been out of action since 2022 when he broke his leg in a fight against Dustin Poirier. While he recovered from the injury, he was out of the USADA testing pool. He re-entered the pool as the UFC and the USADA ended their anti-doping agreement.

Conor McGregor and Michael Chandler

Conor McGregor and Michael Chandler face off during the filming of The Ultimate Fighter at UFC APEX on March 13, 2023, in Las Vegas. (Chris Unger/Zuffa LLC via Getty Images)

UFC'S DANA WHITE TAKES BLAME FOR SEAN STRICKLAND-DRICUS DU PLESSIS MELEE: 'HOW F---ING STUPID IS THAT?'

The Irish fighting star was also in the midst of controversy stemming from sexual assault allegations during a Miami Heat playoff game. Miami police said in October the matter was "closed" and the former champion wasn’t charged with a crime.

McGregor is 22-6 in his career. He lost back-to-back fights against Poirier – the last one coming via TKO. He beat Donald Cerrone on January 2020, more than two years after he lost to Khabib Nurmagomedov.

Conor McGregor before the Poirier fight

Conor McGregor prepares to fight Dustin Poirier during the UFC 264 event at T-Mobile Arena on July 10, 2021, in Las Vegas. (Chris Unger/Zuffa LLC)

Chandler is 23-8 in his career. He hasn’t fought in the Octagon since his own loss to Poirier.

CLICK HERE TO GET THE FOX NEWS APP

Poirier beat Chandler via submission in November 2022. Chandler’s last win came in May 2022 against Tony Ferguson.

Follow Fox News Digital’s sports coverage on X and subscribe to the Fox News Sports Huddle newsletter.