Not many fighters have asked to fight Cub Swanson, but Renato ‘Moicano’ Carneiro did. Now the Brazilian is getting the fight he wanted, just a month later than expected.

The Top 10 featherweights will square off when the fifth-ranked Swanson takes on the ninth-ranked Moicano in the latest fight added to UFC 227 at Staples Center on Aug. 4.

Palm Springs’ Swanson (25-8) was ranked fourth in the 145-pound division before suffering losses to the South Bay’s Brian Ortega in December and former lightweight champion Frankie Edgar last month.

Before that, Swanson, 34, had earned consecutive decisions over Hacran Dias, Tatsuya Kawajiri, Doo Ho Choi and Artem Lobov.

Moicano (12-1-1), whose only MMA loss came to Ortega in July, had hoped to be back in action against Swanson at UFC 226 on July 7, which features Ortega vs. featherweight champion Max Holloway in the co-main event.

The 29-year-old is is 4-1 in the UFC and coming off a unanimous-decision victory over Calvin Kattar in April.

UFC 227 is headlined by the rematch between bantamweight champion T.J. Dillashaw and former champ Cody Garbrandt. It is the UFC’s first card at Staples Center since Feb. 28, 2015, when Ronda Rousey defended her women’s bantamweight title with a 14-second armbar submission of top-ranked and undefeated Cat Zingano.

Other fights scheduled for UFC 227, as confirmed by the UFC:

No. 12 middleweight Derek Brunson vs. Antonio Carlos Junior

No. 10 bantamweight Bethe Correia (10-3-1) vs. No. 11 Irene Aldana (7-4)

Strawweights Danielle Taylor (9-3) vs. Weili Zhang (16-1)

Strawweights Polyana Viana (10-1) vs. JJ Aldrich (6-2)

Bantamweights Ricardo Ramos (11-1) vs Kyung Ho Kang (13-7, 1 NC)

Bantamweights Wuliji Buren (10-5) vs Bharat Khandare (5-3)