The House of Representatives voted Wednesday to hold US Attorney General William Barr and Commerce Secretary Wilbur Ross in contempt over the White House’s failed push to add a citizenship question to the 2020 census.

By a vote of 230 to 198, the Democrat-controlled chamber rapped Barr and Ross for failing to surrender subpoenaed documents laying out the Trump administration’s desire to add the controversial question to the census.

Rep. Steny Hoyer, the Maryland Democrat who called for the contempt vote last week, wrote at the time that Barr and Ross ignored the subpoenas in a bid to “subvert the 2020 Census with the addition of a citizenship question meant only to deter minorities from participating and leading to an undercount in parts of the country.”

The Supreme Court last month temporarily struck down the question, calling the White House’s rationale for adding it “contrived.”

That setback pushed President Trump off of adding the question to the census, leading him to instead opt for an executive order to compile the citizenship data from existing federal databases.

“Today’s vote by Speaker [Nancy] Pelosi and House Democrats to hold Attorney General Barr and Secretary Ross in contempt is ridiculous and yet another lawless attempt to harass the President and his Administration,” said the White House in a statement following the vote.

“House Democrats know they have no legal right to these documents, but their shameful and cynical politics know no bounds.”