Peter the Great

Peter the Great made moustaches a requirement for every soldier

Facial hair in the military has been at various times common, prohibited, or an integral part of the uniform.
Traditionally, Russian soldiers of Russian Tsardom wore beards, but during the reign of Peter the Great they were completely banned in the army and even for civilians, except members of the clergy. Peter did however make moustaches a requirement for every soldier excluding officers, and all of the Russian infantry of the imperial reign could be seen sporting them, often growing beyond the upper-lip. Although the typical image of the imperial Russian soldier shown him with a beard[citation needed], they were not universally permitted until 1895. Cavalrymen also met these requirements. Officers and staff on the other hand grew whatever hair they wished, and generally kept with the fashion of the time.

Source