Dustin Poirier avenged his loss to Conor McGregor and picked up by far the biggest win of his career.

The perennial UFC lightweight contender shocked McGregor, beating him via TKO after swarming him with punches at 2:32 of the second round Saturday night in the main event of UFC 257 in Abu Dhabi, United Arab Emirates.

Poirier first hurt McGregor on the right leg with kicks to the calf. With McGregor’s leg compromised, Poirier ripped off a series of hard-punching combinations. The closing blow was a shovel right hand that dropped McGregor. Poirier followed on the ground, and referee Herb Dean stepped in to call it, marking the first KO or TKO loss of McGregor’s 13-year career.

McGregor and Poirier had fought before, with McGregor winning a featherweight match by first-round TKO at UFC 178 in 2014.

“I felt his presence less, his aura less,” said Poirier, who entered the fight as a plus-275 underdog. “I just saw another fighter tonight. I think the first time, I was kind of a deer in the headlights, you could say. This time, I was just fighting another man — another man who bleeds just like me. And I knew that.”

Current lightweight champion Khabib Nurmagomedov has made it clear he intends to retire, but whether or not he relinquishes the belt, Poirier has now put himself in the driver’s seat for a title shot.

“I feel like I’ve done it all except I can’t walk away and say I’m the champ,” Poirier said. “I want to be the champ. When you’re the champ, you can say you’re the champ forever.”

ESPN had Poirier ranked No. 3 and McGregor No. 10 in the world at 155 pounds.