Gary Coleman's Jan. 24, 2010 mug shot at the Utah County jail

*Gary Coleman, who turns 42 today, has pleaded guilty in Utah to a misdemeanor criminal mischief charge related to a domestic violence incident last April in Utah.

According to the Associated Press, Coleman made a deal with prosecutors to enter the plea at a hearing. In return, the original charge of domestic violence assault was dropped.

Judge Sharla Williams sentenced Coleman to 31 1/2 days in jail. But, the “Diff’rent Strokes” star will serve the time only if he fails to complete a domestic violence course and pay a $595 fine.

Coleman was arrested Jan. 24 at his Santaquin home on a warrant for failing to appear in court. He spent a night in jail before a fan paid his $1,725 bail.