Carlo re d'Allemagna is a three-act dramma per musica by Italian composer Alessandro Scarlatti to a libretto by Giuseppe Papis, after Francesco Silvani [fr], premiered at the Teatro San Bartolomeo of Naples on 26 or 30 January 1716.
Silvani's libretto was already set to music by Benedetto Vinaccesi [fr] in Venice in 1698, under the title L'innocenza giustificata and another set to music by Giuseppe Maria Orlandini in Ferrara in 1712, but under the title L'innocenza difesa and given again in Bologna and Parma in 1713 and 1714, shortly before Scarlatti's opera.
Papis adds comic roles (Amilla and Bleso) to Silvani's drama, a contrast much appreciated in Naples, absent from Silvani's original libretto, which play the role of intermezzi at the end of the acts.
[4] The title refers to Charles the Bald and Judith of Bavaria.
Lotario plots against his half-brother Carlo and his mother-in-law Giuditta to gain access to the throne he covets.