Attorneys for U.S. Sen. Robert Menendez, D-New Jersey, are asking a federal judge to set aside their client’s guilty verdicts, claiming prosecutors violated the lawmaker’s rights to protected speech and debate.

The motion, filed late Monday, comes as Menendez is expected to resign his position at the end of business on Tuesday.