The talk in the lead up to UFC 229 was all about what could happen when rivals Conor McGregor and Khabib Nurmagomedov collided for the UFC Lightweight Title. But the talk has now shifted to what happened afterward.

As reported by USA Today's MMAJunkie, Nurmagomedov submitted McGregor in the fourth round of their championship fight to retain the title and improve to 27-0 in the event's headline bout at the T-Mobile Arena in Las Vegas. But after the fight, a shouting match with Dillion Danis — a teammate of McGregor's who was cornering him for the bout — resulted in Nurmagomedov jumping the UFC Octagon and into the crowd to attack.

McGregor was also attacked during the melee, getting punched from behind by a couple of men assumed to be associated with Nurmagomedov.

The title fight

As described by ESPN, the long-awaited MMA match between McGregor and Nurmagomedov has been two years in the making, with a lot of brewing bad blood. Nurmagomedov claims that McGregor stole his lightweight title shot back at UFC 205 before McGregor went off to fight with Floyd Mayweather.

The Dagestani fighter won the belt in April at UFC 223 — an event marred in controversy when McGregor got into the Barclays Center and threw a hand dolly into a bus carrying Nurmagomedov and several other UFC fighters.

In the build to this UFC 229 fight, McGregor made several comments regarding Nurmagomedov's father, religion and country.

In the opening round, Nurmagomedov took McGregor down and locked up his legs, not allowing the striker to get much work in. The defending champ rode most of the round in top game. This continued at a greater degree in the second, with Nurmagomedov laying down a ground-and-pound attack on McGregor — nearly forcing referee Herb Dean to step in and stop the fight — and nearly sunk in an arm-triangle.

McGregor got back into the fight in the third it seemed, as he landed several key strikes to the body and stopped Nurmagomedov's takedown attempts. But one takedown attempt in the fourth led to Nurmagomedov getting in a rear-naked choke, scoring the submission.

Nurmagomedov then got into his Irish rival's face more before the madness ensued.

The brawl's aftermath

McGregor was quickly escorted out of the arena for his safety, and Nurmagomedov soon followed.

For the first time in UFC history, ring announcer Bruce Buffer announced the winner with no fighter in the Octagon.

According to UFC President Dana White, three men were arrested following the brawl, but they were let go after McGregor declined to press charges. White promises if any of the three men are under UFC contract, they will be let go immediately.

White added that the UFC will wait to take action on Nurmagomedov, as the fighter will have to deal with the Nevada State Athletic Commission first.

The commission has already launched an intense investigation, and Nurmagomedov's fight purse will be withheld.

White — who called tonight's event "a very bad night" for the UFC, with an ending that left him "disgusted" — says the commission could suspend Nurmagomedov. If a suspension comes and is long enough, it could result in Nurmagomedov being stripped of the UFC Lightweight Championship, though it's not a guarantee.