At the 2004 Summer Olympics in Athens, he won a gold medal in the 100 m freestyle and two silvers in the 200 m freestyle and the 4 × 100 m freestyle relay, swimming the anchor leg in 46.79 which was the 2nd fastest split in history. By finishing ahead of Michael Phelps in both the 200 m freestyle and the 4×100 m freestyle relay, he is the only swimmer to ever beat Phelps twice in Olympic competition. While technically the second was a relay, his split was faster by a large margin, and the margin of beating the U.S team by a far smaller one.