the Libretto of  Amadis de Gaule was originaly set by an Italian-born French composer, instrumentalist, and dancer who spent most of his life working in whose court?
Jean-Baptiste Lully Jean-Baptiste Lully (] ; born Giovanni Battista Lulli ] ; 28 November 1632 – 22 March 1687) was an Italian-born French composer, instrumentalist, and dancer who spent most of his life working in the court of Louis XIV of France. He is considered a master of the French baroque style. Lully disavowed any Italian influence in French music of the period. He became a French subject in 1661.
Idomeneo Idomeneo, re di Creta ossia Ilia e Idamante (Italian for "Idomeneus, King of Crete, or, Ilia and Idamante"; usually referred to simply as Idomeneo, K. 366) is an Italian language opera seria by Wolfgang Amadeus Mozart. The libretto was adapted by Giambattista Varesco from a French text by Antoine Danchet, which had been set to music by André Campra as "Idoménée" in 1712. Mozart and Varesco were commissioned in 1780 by Karl Theodor, Elector of Bavaria for a court carnival. He probably chose the subject, though it might have been Mozart. The work premiered on 29 January 1781 at the Cuvilliés Theatre in Munich, Germany.