I want to know the answer to the following question:
The royal courts sponsored both Buddhism and what?
All the background I'm provided with is that "Various classes of Vajrayana literature developed as a result of royal courts sponsoring both Buddhism and Saivism.". Is that enough to answer the question?