As one of the most powerful nonpolitical figures at Louis XIV’s court, Lully was far from immune to its culture of intrigue.
Henri Guichard, a perpetrator of various frauds and a rival at the court, hatched a plot to poison Lully in 1674, and approached a corrupt police officer, Sébastien Aubry, who had access to the Opéra and often saw Lully there. The unfolding of the plot, which involved a poisoned snuff box, had a strong element of farce as Aubry ineptly attempted to play both ends against the middle, jockeying for his own best interests while appearing to assist Guichard.
Eventually a mutual associate tipped off the composer, who formally accused Aubry of conspiracy to commit murder. Guichard exercised what influence he could, but Lully, as a close associate of the king himself, had the upper hand. In the end, the composer was able to delay the case until the only two dissenting judges finished their terms of duty.
This according to Jean-Baptiste Lully by Ralph Henry Forster Scott (London: Owen, 1973, pp. 76–83).
Related article: Comedy versus opera