Leo VI caused a major scandal with his numerous marriages which failed to produce a legitimate heir to the throne. His first wife
Theophano, whom Basil had forced him to marry, died in 897, and he married
Zoe Zaoutzaina, the daughter of his adviser Stylianos Zaoutzes, though she died as well in 899. Upon this marriage Leo created the title of
basileopatōr ("father of the emperor") for his father-in-law.
After Zoe's death a third marriage was technically illegal, but he married again, only to have his third wife
Eudokia Baïana die in 901. Instead of marrying a fourth time, which would have been an even greater sin than a third marriage (according to the Patriarch
Nicholas Mystikos) Leo took as mistress,
Zoe Karbonopsina. He married her only after she had given birth to
a son in 905, but incurred the opposition of the patriarch. Replacing Nicholas Mystikos with Euthymios, Leo got his marriage recognized by the church, but opened up a conflict within it and allowed new grounds for
papal intervention into Byzantine affairs when he sought and obtained papal consent.