The young Wolfgang Amadeus Mozart studied counterpoint with Padre Martini in Bologna. Under the employment of Archbishop Colloredo, and the musical influence of his predecessors and colleagues such as Johann Ernst Eberlin, Anton Cajetan Adlgasser, Michael Haydn, and his own father, Leopold Mozart at the Salzburg Cathedral, the young Mozart composed ambitious fugues and contrapuntal passages in Catholic choral works such as Mass in C minor, K. 139 "Waisenhaus" (1768), Mass in C major, K. 66 "Dominicus" (1769), Mass in C major, K. 167 "in honorem Sanctissimae Trinitatis" (1773), Mass in C major, K. 262 "Missa longa" (1775), Mass in C major, K. 337 "Solemnis" (1780), various litanies, and vespers. Leopold admonished his son openly in 1777 that he not forget to make public demonstration of his abilities in "fugue, canon, and contrapunctus" (Konrad).