President Donald Trump and several members of his family sued Deutsche Bank and Capital One on Monday seeking to prevent them from responding to congressional subpoenas for information about the president's finances.

The House Intelligence and Financial Services committees have issued subpoenas to several banks as part of their investigations of alleged foreign influence on U.S. elections.

Deutsche Bank AG has continued to lend Trump money when other banks have refused. Trump wrote a $35,000 check to his former personal attorney Michael Cohen from his personal checking account with Capital One Financial Corp. Cohen submitted a copy of one of the checks to Congress ahead of his testimony.

The lawsuit — filed in U.S. District Court in Manhattan by the president, his sons Donald Jr. and Eric, his daughter Ivanka and several Trump properties — says the subpoenas "have no legitimate or lawful purpose."

"The subpoenas were issued to harass President Donald J. Trump, to rummage through every aspect of his personal finances, his businesses, and the private information of the president and his family, and to ferret about for any material that might be used to cause him political damage," it alleges. "No grounds exist to establish any purpose other than a political one."