The Primicerius was elected by the Doctors of Law. In 1503 the Doctors of Law had 4 Theologians and in 1784 two Doctors of Medicine added to their ranks. Since the Pope was the spiritual head and, after 1348, the temporal ruler of Avignon, he was able to have a great deal of influence in all university affairs. In 1413 John XXIII granted the university extensive special privileges, such as university jurisdiction and tax exempt status. Political, geographical, and educational circumstances in the latter part of the university's existence caused it to seek favour from Paris rather than Rome for protection. During the chaos of the French Revolution the university started to gradually disappear and, in 1792, the university was abandoned and closed.