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-Prussia after the victory at Fehrbellin and the Brandenburg-Prussian advance in Swedish Pomerania during the Scanian War, Frederick William decided to establish a navy. He engaged Dutch merchant and shipowner Benjamin Raule as his advisor, who after a first personal meeting with Frederick William in 1675 settled in Brandenburg in 1676 and became the major figure of Brandenburg-Prussia's emerging naval and colonial enterprise. The Brandenburg-Prussian navy was established from ten ships which Frederick William leased from Raule, and achieved first successes in the war against Sweden supporting the siege of Stralsund and Stettin and the invasion of Rügen. In Pillau (now