Original: In 1921, he declined the invitation to become a professor at the University of Ljubljana.
Simplified: In 1921, he was asked to be a professor at the University of Ljubljana, but did not take it.