After the 1917 February Revolution that resulted in the abdication of Tsar Nicholas II of Russia, the Ossetians set up a National Council of Ossetians which convened in Java in June 1917 and advocated the creation of organs of self-rule in Ossetian-inhabited areas on the both sides of the Caucasus. The Council was internally divided along the ideological lines and soon became dominated by the Bolsheviks who called for the unification of North and South Ossetias and the incorporation of South Ossetia into Soviet Russia. Already in February 1918, there were numerous outbreaks of disobedience among the Ossetian peasants who refused to pay taxes to the Tiflis-based Transcaucasian government. On March 15, 1918, the Ossetian peasants rose in rebellion and managed to hold off an offensive by a Georgian People's Guard punitive detachment commanded by an ethnic Ossetian officer, Kosta Kaziev. The fighting culminated in the town of Tskhinvali which was occupied by the rebels on March 19, 1918.  The Georgian People's Guard regained the control of Tskhinvali on March 22. The uprising was finally suppressed and harsh repressive measures established in the region, generating resentment against the Mensheviks, being now equated, in the eyes of the Ossetians, with Georgians. This also opened the way for strong pro-Bolshevik sentiments among the Ossetians. Valiko Jugeli spoke about the Ossetians saying, "Our worst and most relentless enemies" and, "These traitors should be cruelly punished. There is no other way.". Which happened first, the Georgian People's Guard regained control of Tskhinvali or the National Council of Ossetians convened in Java?