Jean Baptiste Lully was court composer to Louis XIV (who ascended the throne when he was only 5).
He used his influence on the boy king to secure for himself a monopoly for the composing of operas in France; he blocked the advancement of rivals, such as the much more gifted composers Charpentier and Lalande. Fortunately both flourished well in the immediate perifery of the royal court. Both had strong associations with the Church, and of course Charpentier had the benefit of employment by the Guise court which culturally was rival to that of the royal household.