In 1566 Selim, the son of Suleiman, ascended the throne. He invited a Hungarian convert to Islam, Gazanfer, to take the job of chief white eunuch and head of the privy chamber. He had to accept castration as the price to be paid for this most lofty position. Gazanfer went on to become one of the most influential persons in the Ottoman Empire, serving for over thirty years.

