Conor McGregor found some support from another UFC legend on Sunday night as he recovered from three-hour leg surgery to repair his fibula and tibia.

Ronda Rousey tweeted the UFC and the fighters in the company were lucky to have McGregor.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

"I’m amazed that as soon as you hit the ground you were already promoting the next fight @TheNotoriousMMA," she wrote, "I def wouldn’t have had the mind to do that. The other fighters, @ufc and media are lucky to have you."

McGregor thanked Rousey for the kind words.

Rousey had a meteoric rise in UFC.

In 2012, she became the first female fighter to sign with UFC and later became the first UFC women’s bantamweight champion. In 2015, she knocked out Bethe Correia in 34 seconds but would lose later that year to Holly Holm. She would later lose to Amanda Nunes and find herself out of UFC.

FILE - In this Dec. 6, 2012, file photo, mixed martial arts fighter Ronda Rousey shows off her UFC bantamweight championship belt presented to her by UFC president Dana White during a news conference in Seattle. With her Olympic pedigree and merciless mixed martial arts success, Rousey finally has a showcase worthy of her talent. Rousey and Liz Carmouche are about to make history in the main event at UFC 157 in Anaheim on Saturday, in the first women's bout in the promotion's history. (AP Photo/The Canadian Press, Neil Davidson, File)

In this Dec. 6, 2012, file photo, mixed martial arts fighter Ronda Rousey shows off her UFC bantamweight championship belt presented to her by UFC president Dana White during a news conference in Seattle. (AP Photo/The  Canadian Press, Neil Davidson, File)

McGregor shared an update after undergoing surgery on Sunday.

"Just out of the surgery room guys! Surgery went excellent! Feeling tremendous! 6 weeks on crutch and we build back! Let’s go! God bless," he tweeted initially.

He then released a video, suggesting he would have gotten the better of Dustin Poirier in the second round.

CONOR MCGREGOR UNDERGOES 3 HOURS OF SURGERY, SHARES UPDATE ON STATUS

His agent Audie A. Attar, of Paradigm Sports, released a separate statement.

"Both doctors are confident that with time he will make a full recovery," Attar’s statement read.

"We anticipate his return to the octagon."

McGregor was taken out of the cage on a stretcher after injuring his leg against Poirier. The fight ended after the first round. Poirier was awarded the technical knockout via a doctor stoppage.

Poirier was able to control McGregor on the mat through much of the first round. McGregor had tried to put Poirier in the guillotine submission hold, but Poirier was able to get out of it and outmatch McGregor.

Toward the end, McGregor was able to get back up onto his feet. He tried to dodge a Poirier shot, and when he stepped back, his ankle appeared to get caught underneath him.

McGregor fell, and after the round was over he appeared to signal that his ankle or leg was broken.

The Irishman was clearly in pain on the mat. His leg was put into an air cast and he was taken out of the arena on a stretcher.

CLICK HERE TO GET THE FOX NEWS APP

UFC president Dana White said after the fight that a fourth bout between the two fighters could happen.