Former FBI Director James Comey on Sunday dropped his challenge to a congressional subpoena issued by Republicans, telling a Washington, D.C., federal judge he's reached an “acceptable accommodation” to voluntarily testify.

Comey is expected to sit for a voluntary interview with the House Judiciary Committee on Dec. 7, according to the agreement. Comey will receive a transcript of the interview when it is available and will be permitted to make some or all of the transcript public.

The move came two days after the judge heard arguments on Comey's bid to block a subpoena issued by House Judiciary Chairman Bob Goodlatte, R-Virginia. Comey, represented by Dechert partners David Kelley and Vincent Cohen, argued the closed-door questioning proposed by the House committee would fuel partisan narratives and selective leaks.