In the Middle Ages there were problems with simony and accusations of simony, especially during the Investiture Controversy. Rulers wanted to employ the educated and centrally organized clergy in their administrations.