The guitar grew in popularity during the 17th century as the lute and vihuela declined. It remained an amateur’s instrument from the 17th to early 19th century. A few virtuoso guitarists, however, became known in Europe, among them Gaspar Sanz (flourished 1674), Robert de Visée (c. 1650–1725), Fernando Sor (1778–1839), and Joseph Kaspar Mertz (1806–56). Modern classical-guitar technique owes much to the Spaniard Francisco Tárrega (1852–1909), whose transcriptions of works by Bach, Mozart, and other composers formed the basis of the concert repertory.