Until 1945 Sondheim was an enclave of Saxe-Weimar and later Thuringia, and was added to Bavaria due to the military administration after World War II.
Until 1945 Sondheim was a part of Saxe-Weimar and later Thuringia, and subsequently became part of Bavaria due to post-war reorganization.