Sam Nunberg, a former aide on Donald Trump’s presidential campaign, on Friday complied with a subpoena from special counsel Robert Mueller and appeared in federal court Friday in Washington to face a grand jury, after making a spectacle of himself this week on television by insisting he would never comply.

Nunberg ignored reporters’ questions when he arrived at the court at around 9 a.m.

His appearance in federal court came after a handful of interviews in which Nunberg said he intended to defy a subpoena from Mueller as part of his wide-ranging Russia probe.

Nunberg began his television blitz Monday telling the Washington Post, “Let him arrest me. Mr. Mueller should understand I am not going in on Friday.”

According to the Post, the Mueller subpoena is asking Nunberg for "emails, correspondence, invoices, telephone logs, calendars and 'records of any kind'" pertaining to Trump and nine other people, including Hope Hicks and Steve Bannon.

"I'm going to cooperate with whatever they want," Nunberg told CNN Tuesday in a phone interview.

Nunberg also told the Post that a fellow guest that he appeared with on MSNBC Monday night, Maya Wiley, convinced him to comply with the subpoena and document requests from Mueller.

“She’s very, very smart,” Nunberg said of Wiley, New York Mayor Bill de Blasio’s former chief counsel. “She made a compelling case to me, and the case was that they have to do this for their investigation, and it was a fair point.”

Nunberg was fired by Trump in 2014 following a critical interview of Trump, and then rehired as a communications adviser to his campaign in February 2015. He was then fired later that month after a series of old racist Facebook posts surfaced.

So far, Mueller’s investigation has charged 19 people and three Russian companies, and yielded five guilty pleas.

The investigation is looking into Russian influence in the 2016 presidential election and possible collusion with the Trump campaign, something the president has rejected.