A tentative settlement has been reached in a long-running suit that alleges a former intelligence agent and a State Department official unlawfully eavesdropped on a DEA agent, potentially bringing the state secrets case to an abrupt close and sparing the Justice Department a loss on appeal.

Justice lawyers filed notices Wednesday evening about the proposed settlement. The notices were filed in the U.S. Court of Appeals for the D.C. Circuit, where the case is pending, and in the U.S. District Court for the District of Columbia, where the case was filed in 1994. The agreement was reached through the assistance of the D.C. Circuit’s appellate mediation program. The lawyers asked for a 30-day hold on the proceedings in both courts.