Getty

Deutsche Bank confirmed to a US court on Tuesday that it had tax returns related to an investigation of President Donald Trump — though the documents were redacted and so it was unclear whether the documents were related to his personal fillings or company or family returns.

Trump broke years of custom in refusing to reveal his tax returns for public scrutiny as a presidential candidate.

Deutsche Bank has had a long relationship with Trump, lending him millions over a span of 30 years.

View Markets Insider's homepage for more stories.

Responding to a congressional subpoena, Deutsche Bank confirmed in a letter to a US court on Tuesday that it had tax returns tied to President Donald Trump.

Citing a letter Deutsche Bank sent to a federal appeals court, the Financial Times wrote that the German lender refused to say whether the returns were Trump's or instead related to his family or the Trump Organization.

Trump broke years of custom in refusing to reveal his tax returns for public scrutiny as a presidential candidate.

"The bank has in its possession tax returns (in either draft or as-filed form) responsive to the subpoenas for [redacted]," the Financial Times cited the letter as saying. Deutsche Bank reportedly said in the letter that it also had documents "related to parties not named in the subpoenas but who may constitute 'immediate family' within the definition provided in the subpoenas."

Trump has tried to legally keep any documents relating to him or his family from being revealed by the German bank or the American bank Capital One Financial. Trump's lawyers have been appealing a House of Representatives ruling that declined to block a subpoena of the documents.

Deutsche Bank defended redacting the letter, saying that American law stopped banks from revealing personal financial information to third parties, according to the Financial Times.

Deutsche Bank declined to comment to Business Insider on the matter.

Here's what we know about Trump's ties to Deutsche Bank

Deutsche Bank has had a long relationship with Trump, lending him millions over a span of 30 years.

NOW WATCH: Sharks aren't the deadliest creatures on Earth. Here are the top 10.