Bach cantata cantatas are assumed to date from this period: Bach worked in Weimar from 1708. He composed a secular cantata Was mir behagt, ist nur die muntre Jagd, BWV 208 in 1713. The composition of cantatas for the (court chapel) on a regular monthly basis started with his promotion to in March 1714. His goal was to compose a complete set of cantatas for the liturgical year within four years. Cantatas 54 and 199 were performed within the cycle but possibly composed earlier. Bach worked in Köthen from 1717 to 1723, where he composed for example the "Brandenburg concertos". He had
Brandenburg-Prussia broke out, with Brandenburg-Prussia involved as an ally of the Dutch Republic. This alliance was based on a treaty of 1669, and resulted in French occupation of Brandenburg-Prussian Cleves. In June 1673, Frederick William abandoned the Dutch alliance and concluded a subsidy treaty with France, who in return withdrew from Cleves. When the Holy Roman Empire declared war on France, a so-called "Reichskrieg", Brandenburg-Prussia again changed sides and joined the imperial forces. France pressured her ally Sweden to relieve her by attacking Brandenburg-Prussia from the north. Charles XI of Sweden, dependent on French subsidies, reluctantly occupied the Brandenburgian Uckermark in