Nagyszombat University was founded in 1635 and moved to Buda in 1777 and it is called Eötvös Loránd University today. The world's first institute of technology was founded in Selmecbánya, the Kingdom of Hungary in 1735, its legal successor is the University of Miskolc. The Budapest University of Technology and Economics is considered the oldest institute of technology in the world with university rank and structure, its legal predecessor the Institutum Geometrico-Hydrotechnicum was founded in 1782 by Emperor Joseph II.