Penal military units, including penal battalions, penal companies, etc., are military formations consisting of convicts mobilized for military service. Such formations may contain soldiers convicted of offenses under military law, persons enrolled in the unit after being convicted in civilian courts or some combination of the two. Service in such units is typically considered a form of punishment or discipline in lieu of imprisonment or capital punishment.