Phelps's final event was the 4×100-meter medley relay in which he went on to win his 18th career gold medal and his 22nd overall. By winning 4 gold and 2 silver medals, Phelps concluded the 2012 Olympics as the most successful swimmer of the meet for the third Olympics in a row.