Original: In 1880, he went to Budapest to study with Franz Liszt, only to find out that Liszt was in Weimar, Germany.
Simplified: In 1880, he went to Budapest wanting to study with Franz Liszt, but Liszt was not there.