Original: XXII :11 ) , is one of fourteen masses written by Joseph Haydn .
Simplified: It was written in 1798 .