No candidate for a judicial office shall, directly or indirectly, make any contribution of money or other thing of value, nor shall any contribution be solicited of him; but a candidate for a judicial office may make such legal expenditures, other than contributions, authorized by this chapter.
N.Y. Elec. Law § 17-162