Through treachery, the Gepids are defeated in a decisive battle against the Lombards, whose king, however, agrees to restore peace between the two peoples. His condition is to marry the king's daughter Rosamunda, who, however, has already turned to the clever army commander Amalchi.