(God is my King), , is a cantata by Johann Sebastian Bach written in Mühlhausen when the composer was 22 years old. Unusually for an early cantata by Bach, the date of first performance is known: at the inauguration of a new town council on 4 February 1708. The text is compiled mainly from biblical sources, three different sections from Psalm 74 and several other verses. In addition, one stanza from Johann Heermann's hymn "" is sung simultaneously with corresponding biblical text, and free poetry by an unknown poet of Bach's time which relates to the political occasion. The cantata in seven movements is scored festively with a Baroque instrumental ensemble including trumpets and timpani, "four separate instrumental 'choirs', set against a vocal consort of four singers, an optional Capelle of ripienists and an organ". Stylistically it shares features with Bach's other early cantatas. Bach, then organist in Mühlhausen's church Divi Blasii, led the performance on 4 February 1708 in the town's main church, the Marienkirche. Although the cantata was planned to be performed only twice, it was printed the same year, the first of his works to be printed and the only cantata extant in print that was printed in Bach's lifetime. History and words From 1707 to 1708, Bach was the organist at one of Mühlhausen's principal churches, Divi Blasii, dedicated to St Blaise, where he composed some of his earliest surviving cantatas. One or two early cantatas, for example Nach dir, Herr, verlanget mich, BWV 150, may have been written at Arnstadt, his previous residence, for a performance at Mühlhausen. He composed Gott ist mein König for a church service that was held annually to celebrate the inauguration of a new town council. The librettist is unknown; it has been speculated that the text was written by Georg Christian Eilmar, minister of Marienkirche, who had earlier prompted the composition of Bach's cantata Aus der Tiefen rufe ich, Herr, zu dir, BWV 131. It has also been thought that Bach himself may have assembled the text, although the suggestion is unlikely since Bach's musical setting of the final part of the text departs from its bi-strophic form. There is no evidence either way to indicate the authorship of the cantata's text. Along with other early cantatas, Gott ist mein König is of a pre-Neumeister character, not featuring the combination of recitative and arias found in later cantatas. The