A former aide to Roger J. Stone Jr., the longtime Trump adviser and self-described “dirty trickster,” was subpoenaed to appear before the grand jury hearing evidence in the Russia investigation and to hand over documents, and his lawyer moved on Thursday to quash it in court.

The aide, Andrew Miller, has not been mentioned before publicly in the investigation by the special counsel, Robert S. Mueller III.

Mr. Miller, a registered Libertarian, worked briefly for Mr. Stone around the time of the Republican National Convention in 2016, helping to arrange media interviews and conducting other tasks, according to a person close to Mr. Stone. Mr. Miller was also an aide on the campaign for New York governor in 2010 of Kristin M. Davis, a former madam, whose main adviser was Mr. Stone.

A lawyer, Paul Kamenar, said he filed a motion on Thursday on behalf of a client who was subpoenaed to be questioned in front of the grand jury, though he did not identify Mr. Miller. Mr. Kamenar said the National Legal and Policy Center, a conservative nonprofit organization, was paying for his services.