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
Margraviate of Brandenburg throne, as they already held the vote of Bohemia. Charles succeeded in purchasing Brandenburg from Margrave Otto for 500,000 guilders in 1373 and, at a in Guben, he attached (but not incorporated) Brandenburg to the Crown of Bohemia. The "Landbuch" ("land book", i.e. estate register) of Charles IV, a source for the history of medieval settlement in Brandenburg, originated during this time. Charles chose the castle of to be the electoral residence. The power of the Luxembourgs in Brandenburg declined during the reign of Charles's nephew Jobst of Moravia. The was pawned to the Teutonic Knights, who neglected the border