The present-day conflict over Nagorno-Karabakh has its roots in the decisions made by Joseph Stalin and the Caucasian Bureau ("") during the Sovietization of Transcaucasia. Stalin was the acting Commissar of Nationalities for the Soviet Union during the early 1920s, the branch of the government under which the Kavburo was created. After the Russian Revolution of 1917, Karabakh became part of the Transcaucasian Democratic Federative Republic, but this soon dissolved into separate Armenian, Azerbaijani, and Georgian states. Over the next two years (1918–1920), there were a series of short wars between Armenia and Azerbaijan over several regions, including Karabakh. In July 1918, the First Armenian Assembly of Nagorno-Karabakh declared the region self-governing and created a National Council and government. Later, Ottoman troops entered Karabakh, meeting armed resistance by Armenians.