In Czechoslovakia, those not willing to enter mandatory military service could avoid it by signing a contract for work lasting years in unattractive occupations, such as mining. Those who didn't sign were imprisoned. Both numbers were tiny. After the communist party lost its power in 1989, alternative civil service was established. As of 2006, both the Czech Republic and Slovakia have abolished conscription.