The federal government has agreed to settle for $3 million a long-running suit in federal district court in Washington that alleged a former CIA officer and a State Department official unlawfully eavesdropped on a drug enforcement agent in Burma.

The terms of the agreement were detailed in court papers filed Tuesday night in the U.S. District Court for the District of Columbia. The suit, filed by former DEA agent Richard Horn, was filed in federal court in 1994. The litigation had been under seal until this summer.