Original: It was originally named after King Frederick of Denmark and Norway and received its current name in 1939.
Simplified: The university was modelled after the recently established University of Berlin, and originally named after King Frederick of Denmark and Norway. In 1939 it changed to the name it has now.