The roots of the current organization go back to the Russian revolution of February 1917, after which the Estonian state obtained a degree of autonomy within Russia, which included the establishment of national armed forces. Thus many Estonians in the Russian Army returned home to take up arms for their homeland. The Estonian Declaration of Independence in early 1918 was not recognized by Germany, which invaded and occupied the country during 1918. The Estonian armed forces were disbanded.