Complex sentence: It was at this event that he made friends with Franz Schubert, who dedicated his last three piano sonatas to Hummel.
Split into simpler sentences: It was at this event that Hummel became good friends with Franz Schubert. Schubert dedicated his last three piano sonatas to Hummel.