Michael Phelps pleaded guilty to driving under the influence in court in Baltimore District Court on Friday, according to the Washington Post.

Phelps was given a one-year suspended prison sentence and 18 months of supervised probation, and will not need to serve jail time.

The swimmer was arrested in Maryland on Sept. 30 after reportedly driving 84 mph on a road where the speed limit is 45 mph. He was also charged with excessive speed and crossing double lane lines.

According to USA Today, Phelps received probation before judgment, and his record will be cleared if he does not have any repeat violations within the next 18 months.

USA Swimming later suspended Phelps from their sanctioned events for six months.

It was Phelps’ second DUI arrest in ten years. The previous incident, which occurred when Phelps was 19-years-old, resulted in 18 months of probation.

After his arrest in September, Phelps took full responsibility for his actions and said he was “deeply sorry” to anyone he let down. On Oct. 5, he said he would enter a six-week treatment program.

Phelps, who has 22 Olympic medals, including 18 golds, announced in April that he was coming out of retirement and would possibly target the 2016 Olympics. He had just started training for the Rio Games before his arrest.

This article originally appeared on SI.com

Contact us at editors@time.com.

SPONSORED FINANCIAL CONTENT

Read More From TIME

EDIT POST