Pope John XXIII
Pacem in Terris §52
Pacem in Terris: On Establishing Universal Peace in Truth, Justice, Charity, and Liberty
52 The fact that authority comes from God does not mean that men have no power to choose those who are to rule the State, or to decide upon the type of government they want, and determine the procedure and limitations of rulers in the exercise of their authority. Hence the above teaching is consonant with any genuinely democratic form of government.(36)
Source: Pacem in Terris (Vatican.va)