Hillary Clinton must answer under oath a set of written questions in a lawsuit against the State Department over her private emails, a federal judge ruled Friday.

Judicial Watch, a conservative watchdog group, was ordered to serve Clinton with a written interrogatory by Oct. 14, according to court documents. The State Department was ordered to provide any unpublished records related to the personnel files of Huma Abedin, one of Clinton's top aides, by the end of September.

The order fell short of Judicial Watch's push to question Clinton in person, as the group's lawyers did in depositions with six of Clinton's former staffers in May and June.

Clinton will have 30 days to respond to the questions.

Tom Fitton, president of Judicial Watch, said he was "pleased" with the judge's ruling Friday.

"We will move quickly to get these answers," Fitton said in a statement. "The decision is a reminder that Hillary Clinton is not above the law."

Lawyers for the group argued that Clinton and her aides had not yet explained why the private server network was maintained long after they learned the State Department discouraged such a practice.