<P> In his first event at the 2011 World Aquatics Championships in Shanghai, Phelps won bronze in the 4 × 100 - meter freestyle relay with Garrett Weber - Gale, Jason Lezak, and Nathan Adrian . This was Phelps's first bronze in a World Aquatics Championships . Phelps swam the lead - off leg in 48.08, the second - best lead - off in the field behind James Magnussen's 47.49 . In his second event, the 200 - meter freestyle, Phelps won silver for the second consecutive time at a World Aquatics Championships . This time he finished second to Ryan Lochte in the event with a time of 1: 44.79, compared to Lochte's time of 1: 44.44 . In his third final, the 200 - meter butterfly, he won his first gold medal with a time of 1: 53.34 to become the first swimmer to win five gold medals in one discipline at the World Aquatics Championships . In his fourth event, the 200 - meter individual medley, Phelps again finished second to Lochte in a personal best of 1: 54.16, which was 0.16 behind Lochte who swam a new world record . It was Phelps's 30th medal in the World Aquatics Championships . Shortly after completing the semi-finals of the 100 - meter butterfly, Phelps competed in the 4 × 200 - meter freestyle relay with Peter Vanderkaay, Ricky Berens, and Ryan Lochte . Phelps's team won the gold medal in a time of 7: 02.67 . Phelps swam the lead - off leg in 1: 45.53, the third - best leg in the field . In the 100 - meter butterfly, Phelps won his third consecutive title (also winning in 2007 and 2009) and second individual title of the meet with a time of 50.71 . In his last event, the 4 × 100 - meter medley relay, Phelps teamed with Nick Thoman, Mark Gangloff, and Nathan Adrian to win gold in a time of 3: 32.06 . Phelps's butterfly leg of 50.57 was by far the fastest butterfly leg in the field . </P> <Table> <Tr> <Th_colspan="3"> 2012 Summer Olympics </Th> </Tr> <Tr> <Td> </Td> <Td> 100 m butterfly </Td> <Td> 51.21 </Td> </Tr> <Tr> <Td> </Td> <Td> 200 m medley </Td> <Td> 1: 54.27 </Td> </Tr> <Tr> <Td> </Td> <Td> 4 × 200 m freestyle </Td> <Td> 6: 59.70 </Td> </Tr> <Tr> <Td> </Td> <Td> 4 × 100 m medley </Td> <Td> 3: 29.35 </Td> </Tr> <Tr> <Td> </Td> <Td> 200 m butterfly </Td> <Td> 1: 53.01 </Td> </Tr> <Tr> <Td> </Td> <Td> 4 × 100 m freestyle </Td> <Td> 3: 10.38 </Td> </Tr> </Table> <Tr> <Th_colspan="3"> 2012 Summer Olympics </Th> </Tr> <Tr> <Td> </Td> <Td> 100 m butterfly </Td> <Td> 51.21 </Td> </Tr>

Who won 8 gold medals at 2008 olympics