On Friday, the 30-year-old tweeted a press release, saying he had been following a doctor-prescribed medical treatment that he didn't realise contained a banned substance-testosterone. "I would never knowingly violate anti-doping rules," Dwyer said. He added that he was retiring from swimming. "Today I'm announcing my retirement from professional swimming.