The Goldberg Variations, BWV 988 is a work for keyboard by Johann Sebastian Bach. It was written about 1741. The work consists of an aria and thirty variations. The aria was not original with Bach, but was probably based on a now lost French dance tune. The work is believed to have been commissioned by a pupil of Bach's named J. G. Goldberg. Goldberg was a celebrated virtuoso, and used the work to lull his insomniac employer Count Keyserkingk to sleep.