In 1502 he founded the University of Wittenberg where Martin Luther taught ... at the Wartburg castle after the Diet of Worms (1521), which put Luther under the imperial ban.