République des conseils de Bavière
In 1915, Gesell left Germany to return to his farm in Les Hauts-Geneveys. In 1919, he was asked to join the Bavarian Soviet Republic by Ernst Niekisch. The republic offered him a seat on the Socialization Commission and then appointed him the People's Representative for Finances. Gesell chose the Swiss mathematician Theophil Christen and the economist Ernst Polenske as his assistants and immediately wrote a law for the creation of Freigeld, a currency system he had developed. His term of office lasted only seven days. After the violent end of the Bavarian Soviet Republic, Gesell was detained for several months until being acquitted of treason by a Munich court. Because of his participation with the Soviet Republic, Switzerland denied him return to his farm in Neuchâtel.