information:filtering, stylistic:style_transfer, information:highlighting
Köthen (1717–1723)

Leopold, Prince of Anhalt-Köthen, hired Bach to serve as his Kapellmeister (director of music) in 1717. Prince Leopold, himself a musician, appreciated Bach's talents, paid him well and gave him considerable latitude in composing and performing. The prince was a Calvinist and did not use elaborate music in his worship; accordingly, most of Bach's work from this period was secular, including the orchestral suites, cello suites, sonatas and partitas for solo violin, and the Brandenburg Concertos. Bach also composed secular cantatas for the court, such as Die Zeit, die Tag und Jahre macht, BWV 134a.

Despite being born in the same year and only about 130 kilometres (80 mi) apart, Bach and Handel never met. In 1719, Bach made the 35-kilometre (22 mi) journey from Köthen to Halle with the intention of meeting Handel; however, Handel had left the town. In 1730, Bach's oldest son, Wilhelm Friedemann, travelled to Halle to invite Handel to visit the Bach family in Leipzig, but the visit did not take place.

On 7 July 1720, while Bach was away in Carlsbad with Prince Leopold, Bach's wife, Maria Barbara Bach, suddenly died. The following year, he met Anna Magdalena Wilcke, a young, highly gifted soprano 16 years his junior, who performed at the court in Köthen; they married on 3 December 1721. Together they had 13 children, six of whom survived into adulthood: Gottfried Heinrich; Elisabeth Juliane Friederica (1726–1781); Johann Christoph Friedrich and Johann Christian, who both, especially Johann Christian, became significant musicians; Johanna Carolina (1737–1781); and Regina Susanna (1742–1809).