UFC 177 takes place Aug. 30 at Sleep Train Arena in Sacramento, Calif., and is headlined by a title rematch between bantamweight champ T.J. Dillashaw and ex-champ Renan Barao.

Onetime title challenger and “The Ultimate Fighter 14” winner John Dodson, who is 5-1 as a UFC flyweight was widely expected to rematch champ Johnson despite his misgivings about a second fight, but a nagging knee injury to Dodson gave way to ACL surgery that will keep him out of action for a year, at minimum.

In Dodson’s spot goes Cariaso, who lost to onetime title challenger John Moraga and the highly touted Jussier Formiga in his earlier flyweight career, but has won his past three outings.

A former bantamweight in the now-defunct WEC and UFC, Cariaso beat several standout opponents such as Takeya Mizugaki and Vaughan Lee. But he fell short against top-rated competition such as Barao and Michael MacDonald and looked to greener pastures as a lighter fighter.

Cariaso was expected to take on Kyoji Horiguchi at UFC Fight Night 52, but he will now get his biggest challenge to date. Johnson is in the midst of his greatest success as an MMA fighter, having not lost a fight since dropping to 125 pounds and winning the inaugural UFC flyweight title. Most recently, he outpointed Ali Bagautinov at this past month’s UFC 174, which followed a knockout of Joseph Benavidez in a rematch of a 2012 meeting to decide the UFC’s first titleholder at flyweight.