The Hutsul Republic was a short-lived state, formed in the aftermath of World War I. The republic was declared on January 8, 1919, when original plans to unite this area with the Western Ukrainian People's Republic failed and the territory was occupied by Hungarian police.
On the night of January 7–8, 1919 the local population of Rakhiv rose against the Hungarian gendarme battalion, taking into custody some 500 Hungarian policemen. General Stepan Klochurak was elected prime minister of the republic. He was also active in organizing the armed forces of the republic, which consisted of nearly 1,000 soldiers The army waged a brief war in the adjacent lands of Maramures. In April 1919 most of Carpathian Ruthenia joined Czechoslovakia as an autonomous territory, while its easternmost territory (Hutsul Republic) was de facto a breakaway state.