(CNN) The lawyer for embattled FBI agent Peter Strzok slammed House Republicans for selectively leaking portions of Strzok's closed-door testimony last week and charged that the invitation for Strzok to return next week for a public grilling was a "trap."

The attorney, Aitan Goelman, sent the House Judiciary Committee a blistering letter, obtained by CNN, that accused Republicans of forcing Strzok to testify behind closed doors when he wanted to testify publicly and then twisting his answers to the media.

Following his closed-door interview last week, the committee invited Strzok to return to testify publicly on July 10, but Goelman said that date would not work — and raised the possibility he would not return to speak with the panel at all.

"Having sharpened their knives behind closed doors, the committee would now like to drag back Special Agent Strzok and have him testify in public — a request that we originally made and the committee denied," Goelman said. "What's being asked of Special Agent Strzok is to participate in what anyone can recognize as a trap."

Strzok's attorney also called for the transcript of last week's interview, which spanned more than 11 hours, to be released. It's unclear whether Strzok will accept an invitation to testify unless the transcript is publicly released, according to a source familiar with the negotiations.

Read More