The most accurate response would be: They were sponsored by wealthy patrons.
Many nineteenth-century artists relied on financial support from patrons, including government institutions and wealthy individuals, which often influenced the subject matter and themes of their artwork to align with societal or governmental views.