Tiger Woods pleaded guilty to reckless driving on Friday and will be put on probation for a year and attend a rehabilitation program.

Woods, 41, made the plea in Palm Beach Gardens, Fla.

Woods was found by a police officer asleep at the wheel of his parked Mercedes in May. Woods had “extremely slow and slurred speech,” a police report said. He was “sluggish, sleepy and unable to walk alone.”

Woods struggled with sobriety tests at the scene and was later found to have five drugs in his system, including Vicodin, Xanax and Ambien, but no alcohol.

Woods said in a statement afterward that he had an “unexpected reaction to prescribed medications” and apologized. He checked into a clinic in June to deal with problems with prescription medications.