In the first after revolutionary years maintenance of internal security of the Soviet state has been assigned to the All-Russia Extreme Commission on struggle against counterrevolution, gamble and malfeasances (till August 1918 - on struggle against counterrevolution and sabotage) - ВЧК (Cheka), formed on December, 7th (20) 1917, The large powers given to this organisation in Civil war, with world approach have been partially reduced, and itself ВЧК (Cheka) February, 1922 would be transformed to the State Political Management (ГПУ) at the National Commissariat of internal affairs (People's Commissariat of Internal Affairs) of RSFSR. In connection with formation of the USSR in November 1921, Incorporated state political management (ОГПУ) has been created at Council of national commissioners of the USSR, including the State political managements of RSFSR and other union republics.
Organisation ГПУ-ОГПУ competence included state security maintenance: struggle against political crimes, struggle espionage, against "counterrevolution" in general, Service of the operations spent by this organisation, struggle against gangsterism, arrests, ambushes, protection of government agencies, values of the state importance and industrial targets. External protection of prisons was carried out by the Internal armies ГПУ-ОГПУ created on June, 13th 1918, as the Case of armies ВЧК (Cheka). On May, 25th, 1919 this formation together with other armies of auxiliary appointment was a part of Armies of internal protection of Republic (ВОХР - VOKhR), consisting under the authority of People's Commissariat of Internal Affairs; on September, 1st 1920, ВОХР, strengthened still a number of contingents, have formed Armies of internal service (ВНУС) from which on January, 19th 1921, the independent Armies ВЧК (Cheka) on February, 6th, 1922 reorganised in Internal armies ГПУ (then ОГПУ).
Internal protection of prisons and prisoners was carried out by the Convoy guards of Republic existing since April 1918, To 1921, it was included into structure of the National commissariat of justice, but was in operative submission at ГПУ,
ВЧК, at the beginning ГПУ, had no special uniforms, and used as that various subjects of military and civil clothes. For the first time the form for «special organisation GPU» has been entered on June, 21st 1922,