The Role of the Church in Medieval Politics