Images from Michael Phelps' final Olympic swim on Saturday, as the United States won the men's 4x100m medley relay and gave the five-time Olympian his 23rd gold medal.
• More: Michael Phelps leaves in 'perfect way' – Olympics roundup
Michael Phelps (USA) of USA prepares to compete in the men’s 4x100m medley relay at the 2016 Rio Olympics, Rio de Janeiro, Brazil, August 13 2016. Marcos Brindicci / Reuters
United States’ Michael Phelps prepares to enter the water in the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Lee Jin-man / AP Photo
Michael Phelps of USA dives to start his leg of the relay in the men’s 4x100m medley relay at the 2016 Rio Olympics, Rio de Janeiro, Brazil, August 13 2016. Michael Dalder / Reuters
Michael Phelps of the United States leads James Guy of Great Britain in the men’s 4x100m medley relay final on Day 8 of the Rio 2016 Olympic Games at the Olympic Aquatics Stadium on August 13, 2016 in Rio de Janeiro, Brazil. Al Bello / Getty Images
United States’ Michael Phelps competes in the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Lee Jin-man / AP Photo
Michael Phelps (R) of the United States leads James Guy of Great Britain in the men’s 4x100m medley relay final on Day 8 of the Rio 2016 Olympic Games at the Olympic Aquatics Stadium on August 13, 2016 in Rio de Janeiro, Brazil. Richard Heathcote / Getty Images
Michael Phelps (2-L) of USA is hugged by teammates after winning the men’s 4x100m medley relay final race of the Rio 2016 Olympic Games Swimming events at Olympic Aquatics Stadium at the Olympic Park in Rio de Janeiro, Brazil, 13 August 2016. Esteban Biba / EPA
(from R) USA’s Ryan Murphy, Cody Miller, Michael Phelps celebrate after the men’s swimming 4x100m medley relay final at the Rio 2016 Olympic Games at the Olympic Aquatics Stadium in Rio de Janeiro on August 13, 2016. Odd Andersen / AFP
Michael Phelps of USA reacts after they won the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Marcos Brindicci / Reuters
Michael Phelps, Cody Miller, Ryan Murphy and Nathan Adrian of USA celebrate winning the gold medal in the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Athit Perawongmetha / Reuters
Michael Phelps of USA reacts after they won the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Marcos Brindicci / Reuters
Nathan Adrian, Ryan Murphy, Michael Phelps and Cody Miller of the United States are greeted to the crowd before the men’s 4x100m medley relay final on Day 8 of the Rio 2016 Olympic Games at the Olympic Aquatics Stadium on August 13, 2016 in Rio de Janeiro, Brazil. Richard Heathcote / Getty Images
Michael Phelps, Cody Miller, Ryan Murphy and Nathan Adrian of USA react after winning the gold medal in the men’s 4x100m medley relay final during the swimming competitions at the 2016 Summer Olympics, Saturday, Aug. 13, 2016, in Rio de Janeiro, Brazil. Stefan Wermuth / Reuters
Images from Michael Phelps' final Olympic swim on Saturday, as the United States won the men's 4x100m medley relay and gave the five-time Olympian his 23rd gold medal.
• More: Michael Phelps leaves in 'perfect way' – Olympics roundup