In 1914, peakless caps were abolished everywhere in Russian armed forces except the Navy, and modern peaked caps were issued to all soldiers. However, after the October Revolution of 1917, it was replaced in Red Army field uniforms by the budenovka, and later by the garrison cap. The dress uniforms, on the other hand, retained this headgear, and various paramilitary Soviet agencies like the NKVD or VOKhR kept using it in all uniforms. Agencies like railway workers, firemen, pilots, mining supervisors, foresters, customs officers in the Soviet Union also were organised along military lines and wore uniforms with peaked caps of various designs.