The Investiture Controversy or Investiture Contest was the most significant conflict between Church and state in medieval Europe. ... The investiture controversy began as a power struggle between Pope Gregory VII (1072–85) and Henry IV, Holy Roman Emperor (1056–1106).