Antonio Vivaldi wrote a set of sonatas for two violins and basso continuo, Op. 1, in 1705.
The final sonata is a set of variations on the famous "Folia" theme.