It was Frederick the Wise who set up the University of Wittenberg in 1502 .
Wanting a university in his lands , for example for educating civil servants and pastors , Frederick founded the University of Wittenberg in 1502 .