Jesus nahm zu sich die Zwölfe, BWV 22 Weimar did not dismiss him and arrested him for disobedience. He was released on 2 December 1717. In Köthen, Bach found an employer who was an enthusiastic musician himself. The court was Calvinist, therefore Bach's work from this period was mostly secular, including the orchestral suites, the cello suites, the sonatas and partitas for solo violin, and the "Brandenburg Concertos". He composed secular cantatas for the court for occasions such as New Year's Day and the prince's birthday, including . He later parodied some of them as church cantatas without major changes, for example . Bach composed his cantata as
Brandenburg end, and from 1323 up until 1415 Brandenburg was under the control of the Wittelsbachs of Bavaria, followed by the Luxembourg Dynasties. Under the Luxembourgs, the Margrave of Brandenburg gained the status of a prince-elector of the Holy Roman Empire. In the period 1373-1415, Brandenburg was a part of the Lands of the Bohemian Crown. In 1415, the Electorate of Brandenburg was granted by Emperor Sigismund to the House of Hohenzollern, which would rule until the end of World War I. The Hohenzollerns established their capital in Berlin, by then the economic center of Brandenburg. Brandenburg converted to Protestantism in