Judge Edgardo Ramos ruled Wednesday that Deutsche Bank and Capital One can hand over President Trump’s financial documents after House Democrats issued a subpoena for them.

Trump sued the banks in April to keep them from complying with the subpoenas from the House Intelligence and Financial Services committees.

The Democrat-led committees are investigating Trump’s financial relationship with Deutsche Bank, which lent Trump more than $2 billion, making it the main lender to his businesses . Capital One has Trump records related to his hotels.

Trump has said he plans to fight “all the subpoenas” by the House Democrats.

“As a private businessman, Trump routinely used his well-known litigiousness and the threat of lawsuits to intimidate others, but he will find that Congress will not be deterred from carrying out its constitutional responsibilities,” Rep. Maxine Waters, D-Calif., and Rep. Adam Schiff, D-Calif., who lead the committees requesting the financial records, said after Trump refused to comply with the subpoenas.

“This lawsuit is not designed to succeed; it is only designed to put off meaningful accountability as long as possible,” they said.