Both sections of the piece are based on a theme from a motet, Ecce sacerdos magnus ("Behold a great priest"), by the Spanish composer Tomás Luis de Victoria (or "Vittoria", 1548-1611) [REF].
Vittoria's theme is also used (with little development) as the subject of the fugue.