If an attorney knowingly permits a person not being his general law partner, or a clerk in his office, to sue out a mandate, or to prosecute or defend an action in his name, he, and the person who so uses his name, each forfeits to the party against whom the mandate has been sued out, or the action prosecuted or defended, the sum of fifty dollars, to be recovered in an action.
N.Y. Jud. Law § 476