This piece was written by Johann Sebastian Bach during the Baroque period for the solo classical guitar.