Bach's earliest cantatas date from his years in Arnstadt and Mühlhausen. The earliest one with a known date is Christ lag in Todes Banden, BWV 4, for Easter 1707, which is one of his chorale cantatas. Gottes Zeit ist die allerbeste Zeit, BWV 106, also known as Actus Tragicus, is a funeral cantata from the Mühlhausen period. Around 20 church cantatas are extant from his later years in Weimar, for instance, Ich hatte viel Bekümmernis, BWV 21.
The 1707 Hōei earthquake (Hōei jishin 宝永地震) struck south-central Japan at 14:00 local time on 28 October 1707. It caused moderate to severe damage throughout southwestern Honshu, Shikoku and southeastern Kyūshū. The earthquake, and the resulting destructive tsunami, caused more than 5,000 casualties.