Colorado Springs, CO (SportsNetwork.com) - USA Swimming has suspended Michael Phelps six months for violating the organization's Code of Conduct.

The suspension comes nearly a week after Phelps was arrested and charged with DUI in Baltimore, Maryland, and one day after the swimmer checked himself in for alcohol rehab.

"Membership in USA Swimming, and particularly at the National Team level, includes a clear obligation to adhere to our Code of Conduct. Should an infraction occur, it is our responsibility to take appropriate action based on the individual case. Michael's conduct was serious and required significant consequences," USA Swimming Executive Director Chuck Wielgus said. "Michael has publicly acknowledged the impact of his decisions, his accountability especially due to his stature in the sport and the steps necessary for self- improvement. We endorse and are here to fully support his personal development actions."

Also part of the suspension, Phelps will be forced to withdraw from the 2015 FINA World Championships Team that will be held in Kazan, Russia, from August 2-9, and forfeit his monthly stipend from USA Swimming for six months.

Last Tuesday Phelps was arrested and charged with DUI, excessive speed and crossing double lane lines within the Fort McHenry Tunnel on I-95 in Baltimore. He was later released.

A report from the Maryland Transportation Authority said Phelps was driving a 2014 white Land Rover at a speed of 84 mph in a 45-mph zone. An officer pulled the vehicle over beyond the tunnel's toll plaza and Phelps failed to perform the standard field sobriety tests. He was cooperative throughout the process.

This was Phelps' second arrest on DUI-related charges, with the first coming in 2004 for which he received 18 months' probation and a $250 fine.

Phelps was also suspended for three months by USA Swimming in 2009 after a picture was posted in a British tabloid showing him with a marijuana pipe.

The 29-year-old Phelps has won a record 18 Olympic gold medals and 22 overall. He retired following the London Games in 2012, but made his return to competitive swimming this past April.