Term: conscription
Example:  the government passed conscription because they're at war
Definition: a law that forces all men (and sometimes women) to join the armed forces if and when they are needed