The revelation of another secret government database storing records of Americans’ calls came in a filing Thursday in the case of a man accused of conspiring to unlawfully export electronic goods to Iran.

A Drug Enforcement Administration official said in the filing that the agency, which is an arm of the Justice Department, has long used administrative subpoenas—not federal court orders—to collect the metadata of U.S. calls to and from foreign countries “that were determined to have a demonstrated nexus to international drug trafficking and related criminal activities.”

The court document only refers to collecting outgoing U.S. calls to foreign countries, although people familiar with the program said it also collected data about incoming calls.