Duke of Weimar to be released so he could accept this new post. This made the Duke so grumpy that he put Bach in jail for four weeks before dismissing him. In 1717, Bach accepted his new post as the Kapellmeister for Prince Leopold of Köthen. Prince Leopold's organ wasn't very good, so Bach didn't write organ music during this time. Instead, he focused on composing for the orchestra, writing works like the Brandenburg Concertos, which are now considered the best orchestral compositions of the Baroque era. It was also during this post that his wife Maria died, and Bach married singer Anna Magdalena Vilka. Together they had 13 kids, making him the father of 20 kids. In 1723, Bach accepted his final post, serving as cantor, organist, and music composer for St. Thomas Lutheran Church in Leipzig, Germany.
為了讓巴赫接受這個新職位,魏瑪公爵要求釋放巴赫。這讓公爵非常生氣,他將巴赫關進監獄四周後才將其解僱。1717 年,巴赫接受了新職位,成為科滕的利奧波德親王的指揮。利奧波德王子的管風琴並不出色,是以巴赫在此期間沒有創作管風琴音樂。相反,他專注於為管絃樂隊作曲,創作了《勃蘭登堡協奏曲》等作品,這些作品現在被認為是巴洛克時代最好的管絃樂作品。也是在這個時期,他的妻子瑪麗亞去世,巴赫與歌手安娜-瑪格達萊娜-維爾卡結婚。他們共育有 13 個孩子,使他成為 20 個孩子的父親。1723 年,巴赫接受了他的最後一個職位