Mercurius became Pope John II, making him the first pope to change their name after attaining popehood.

Source