Floyd Mayweather Jr. has been sentenced to serve 90 days behind bars for allegedly beating up his baby mama in front of their kids.
The sports star was arrested in September, 2010 after Josie Harris accused him of striking her "multiple times in the head with his fist" and allegedly threatening to beat up their two children, who at the time were aged nine and 10.
TMZ says Floyd struck a plea deal with prosecutors in the case -- in which he pled guilty to misdemeanor domestic violence ... in exchange for getting a pass on the felony battery charge.
Floyd also pled no contest to two misdemeanor harassment charges -- after allegedly threatening to beat his kids too during the incident.
The judge was especially pissed that Mayweather struck his baby mama in front of their kids.
The judge also ordered Mayweather to complete 100 hours of community service and a 12-month domestic violence program. He was fined $2,500 ... which to Floyd is like a poker hand.
The boxer must turn himself in on January 6, to begin serving his sentence.