conflict between church and state in medieval Europe over the ability to appoint local church officials