 This caused fighting between the opposing camps and the then prime minister was shot.As a result, the government fled to Bamberg in 1919, where the Bamberg Constitution was adopted while, in Munich, the Bavarian Soviet Republic reigned briefly.In 1919 the Free State of Coburg voted in a referendum against joining Thuringia and was instead united with Bavaria on 1 July 1920.