Complex sentence: In 1708, Barsanti travelled to Padova, intending to pursue an education in science; but, after he had attended a number of concerts, which were then being held at the university, he eventually decided to dedicate himself to a musical career.
Split into simpler sentences: In 1708, Barsanti travelled to the city Padova, where he intended to pursue an education in science. But, after having attended several concerts, which were being held at the university, he eventually decided to embark on a musical career.