In honor of the Greatest Olympian of All Time, here are Michael Phelps’ 23 gold medals. We’ve included who he beat out for gold and by how much.

Athens 2004

400 IM – GOLD – 4:08.26 (world record)
Bested Erik Vendt by 3.55 seconds.

200 Fly – GOLD – 1:54.04 (Olympic record)
Bested Takashi Yamamoto of Japan by .52 seconds.

4×200 Free Relay – GOLD – 7:07.33 (with Ryan Lochte, Peter Vanderkaay, Klete Keller)
Bested Australia by .13 seconds.

200 IM – GOLD – 1:57.14 (Olympic record)
Bested Ryan Lochte by 1.64 seconds.

100 Fly – GOLD – 51:25 (Olympic record)
Bested Ian Crocker by .04 seconds.

4×100 Medley Relay – GOLD – 3:30.68 (Phelps swam in heats, did not swim in final)
Bested Germany by 2.94 seconds.

Beijing 2008

400 IM – GOLD – 4:03.84 (world record)
Bested Laszlo Cseh by 2.32 seconds.

4×100 Free Relay – GOLD – 3:08.24 (world record, with Garrett Weber-Gale, Cullen Jones, Jason Lezak)
Bested France by .08 seconds.

200 Free – GOLD – 1:42.96 (world record)
Bested Park Tae-Hwan by 1.89 seconds.

200 Fly – GOLD – 1:52.03 (world record)
Bested Laszlo Cseh by .67 seconds.

4×200 Free Relay – GOLD – 6:58.56 (world record, with Ryan Lochte, Rickey Berens, Peter Vanderkaay)
Bested Russia by 5.14 seconds.

200 IM – GOLD – 1:54.23 (world record)
Bested Laszlo Cseh by 2.29 seconds.

100 Fly – GOLD – 50.58 (Olympic record)
Bested Michael Cavic by .01 seconds.

4×100 Medley Relay – GOLD – 3:29.34 (world record, with Aaron Peirsol, Brendan Hansen, Jason Lezak)
Bested Australia by .70 seconds.

London 2012

4×200 Free Relay – GOLD – 6:59.70 (with Ryan Lochte, Conor Dwyer, Ricky Berens)
Bested France by 3.07 seconds.

200 IM ­– GOLD – 1:54.27
Bested Ryan Lochte by .63 seconds.

100 Fly – GOLD – 51.21
Bested Chad Le Clos and Yevgeny Korotyshkin by .23 seconds.

4×100 Medley Relay – GOLD – 3:29.35 (with Matt Grevers, Brendan Hansen, Nathan Adrian)
Bested Japan by 1.91 seconds.

Rio 2016

4×100 Free Relay – GOLD – 3:09.92 (with Caeleb Dressel, Ryan Held, Nathan Adrian)
Bested France by .61 seconds.

200 Fly – GOLD – 1:53.36
Bested Masato Sakai by .04 seconds.

4×200 Free Relay – GOLD – 7:00.66 (with Conor Dwyer, Townley Haas, Ryan Lochte)
Bested Great Britain by 2.47 seconds.

200 IM – GOLD – 1:54.66
Bested Kosuke Hagino by 1.95 seconds.

4×200 Medley Relay – GOLD – 3:27.95 (with Ryan Murphy, Cody Miller, and Nathan Adrian)
Bested Great Britain by 1.29 seconds.