Idomeneo is an opera seria with music by Wolfgang Amadeus Mozart. The libretto (words) are in Italian and were written by Giambattista Varesco. He based it on a French text by Antoine Danchet. In 1780 Mozart and Varesco were asked by the Elector of Bavaria to write an opera for a court carnival. 