LAS VEGAS – Marcos Maidana seemingly did everything but beat Floyd Mayweather Jr., taking him 12 tough rounds before losing a majority decision.

Mayweather remained unbeaten Saturday night, but not by much. Maidana swarmed all over him from the opening bell at MGM Grand Garden Arena.

In the end, though, Mayweather got the victory — just as he did in his previous 45 fights. He retained his welterweight title by winning 117-111 on one scorecard and 116-112 on another. A third judge had the bout even at 114-114.

Cheered on by a large contingent of Argentine fans, Maidana (35-4) took the fight to 37-year-old American Mayweather, who was cut by the right eye in the fourth round by an accidental head butt and said he had trouble seeing for the next two rounds.

“I think I won the fight,” the 30-year-old Maidana said. “He didn’t fight like a man.”

Compubox stats showed Mayweather landing 230 of 426 punches, compared with 221 of 858 for Maidana.