: Bach composed the original version in Weimar (1716) and later expanded it in Leipzig (1723) for the Feast of the Visitation. Melody Origins