Original: In 1805 it came to Austria, and in 1809 to Bavaria, who closed the University of Salzburg, banned monasteries from accepting novices, and banned pilgrimages and processions.
Simplified: In 1805 Salzburg became a part of Austria, and in 1809, a part of Bavaria. The Bavarians closed the University of Salzburg, banned monasteries from accepting novices (new monks for training), and banned pilgrimages and processions.