Jose Canseco and his twin brother pleaded guilty Tuesday to charges stemming from a nightclub fight.

The Cansecos allegedly beat up two men in the brawl.

With Tuesday's plea, the brothers received probation and community service, but avoided jail time.

Jose Canseco and his brother, former major leaguer Ozzie, also will have to attend anger management classes.

Jose Canseco agreed to three years probation, 250 hours of community service and the anger control classes.

Ozzie Canseco was sentenced to 18 months probation, 200 hours of community service and the anger classes.

The two brothers were involved in a fight in Miami Beach on Oct. 31, 2001.

Jose Canseco had faced up to 31 years in prison and his brother faced up to 17 years.

Jose Canseco pleaded guilty to one count of felony aggravated battery and two counts of misdemeanor battery.

Ozzie pleaded to one count of felony battery and one misdemeanor battery count.

Jose Canseco hit 462 home runs, was a six-time all-star and was the 1988 AL MVP.

He ended his career with a .266 batting average and 1,407 RBIs with 200 stolen bases in 1,887 games with Oakland, Texas, Boston, Toronto, Tampa Bay, the New York Yankees and the Chicago White Sox.

In his final season in 2001, Jose Canseco hit .258 with 16 homers and 49 RBIs for the White Sox.