In 1857, after a childhood largely spent under the care of her grandmother and with governesses, Cosima married the conductor Hans von Bülow. Although the marriage produced two children, it was largely a loveless union, and in 1863 Cosima began a relationship with Wagner, who was 24 years her senior. She married him in 1870; after his death in 1883 she directed the Bayreuth Festival for more than 20 years, increasing its repertoire to form the Bayreuth canon of ten operas and establishing the festival as a major event in the world of musical theatre.