Haydn and Mozart were acquainted with one another
The classical era was during this time.
Beethoven Mozart and Haydn