Who is the most decorated olympian of all time?

Michael Phelps is the most decorated olympian winning a total of 28 medals.