House Judiciary Chairman Jerry Nadler (D-N.Y.) has led the charge to hold U.S. Attorney General William Barr in contempt of Congress for not complying with the panel's subpoenas regarding special counsel Robert Mueller's report.

But when former Attorney General Eric Holder faced a House vote that ultimately led to him being held in contempt for the Fast and Furious scandal in 2012, Nadler was singing a different tune.

What are the details?

The committee voted Wednesday to hold Barr in contempt, after the White House invoked executive privilege to prevent the release of further documents.

The contempt vote will now be taken up by the full House, CNN reported. Speaking after the committee's decision, Nadler said, "This is information we are legally entitled to see, and we are constitutionally obligated to review."

He added, "Let me be clear: The information we are requesting is entirely within our legal rights to receive, and is no different from what has been provided to Congress on numerous occasions, going back nearly a century."

But in 2012, Nadler didn't believe then-attorney general Eric Holder should have turned over documents relating to the Fast and Furious scandal — a gun-running operation by the Obama Justice Department that was linked to the death of a Border Patrol agent.

According to his own Twitter feed, Nadler proudly joined a walkout with scores of other Democrats in protest of the vote, which he called "shameful" and "politically motivated."

Anything else?

Former President Barack Obama's administration also argued it had executive privilege not to release materials relating to Fast and Furious. Ultimately, a federal judge ordered the Department of Justice to hand over 65,000 pages of documents, Politico reported.