Unions begin legal challenge to jail terms for political campaigns