US President Donald Trump speaks during the National Association of Realtors Legislative Meetings and Trade Expo in Washington, DC, on May 17, 2019. (Photo by SAUL LOEB / AFP)        (Photo credit should read SAUL LOEB/AFP/Getty Images)
SAUL LOEB/AFP/AFP/Getty Images
US President Donald Trump speaks during the National Association of Realtors Legislative Meetings and Trade Expo in Washington, DC, on May 17, 2019. (Photo by SAUL LOEB / AFP) (Photo credit should read SAUL LOEB/AFP/Getty Images)
Now playing
02:28
Trump accounting firm ordered to give records to Congress
capitol officer
CNN
capitol officer
Now playing
03:40
'I felt like they were trying to kill me': Police officers to testify during hearing
Church of Glad Tidings
Now playing
01:16
Reporter calls out Flynn's comment after being given an AR-15
Now playing
03:13
'Pure nonsense': Deconstructing common myths about the vaccine
US President Joe Biden waves as he participates in a CNN Town Hall hosted by Don Lemon at Mount St. Joseph University in Cincinnati, Ohio, July 21, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
SAUL LOEB/AFP/AFP via Getty Images
US President Joe Biden waves as he participates in a CNN Town Hall hosted by Don Lemon at Mount St. Joseph University in Cincinnati, Ohio, July 21, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
Now playing
02:17
See what Biden said about today's infrastructure vote
CNN/Getty Images
Now playing
02:50
Carl Bernstein: Trump is our own American war criminal
CNN
Now playing
02:19
Tapper presses Republican on GOP resistance to January 6 probe
Now playing
01:35
Republican governor balks at Covid-19 mandates as state's cases soar
Dr. Fauci NIH research China Tapper sotu vpx _00023404.png
CNN
Dr. Fauci NIH research China Tapper sotu vpx _00023404.png
Now playing
03:13
Dr. Fauci weighs in on if US should collaborate with Wuhan labs in future
Pool
Now playing
02:06
WaPo: This is what Trump's PAC is spending its money on
CNN
Now playing
02:04
AZ lawmaker says audit 'not about Trump.' Her emails show otherwise
Getty Images
Now playing
01:55
'Almost giddy': Author describes Trump during Capitol riot
Florida Gov. Ron DeSantis, center, speaks during a news conference at West Miami Middle School in Miami on Tuesday, May 4, 2021.
Matias J. Ocner/Miami Herald/AP
Florida Gov. Ron DeSantis, center, speaks during a news conference at West Miami Middle School in Miami on Tuesday, May 4, 2021.
Now playing
02:20
Florida Gov. Ron DeSantis blames this for surge in cases
CNN
Now playing
03:31
'I got elected to shake things up': Lightfoot on time as mayor
US Speaker of the House, Nancy Pelosi, Democrat of California, speaks at her weekly press briefing on Capitol Hill in Washington, DC, on July 22, 2021. (Photo by Brendan SMIALOWSKI / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
US Speaker of the House, Nancy Pelosi, Democrat of California, speaks at her weekly press briefing on Capitol Hill in Washington, DC, on July 22, 2021. (Photo by Brendan SMIALOWSKI / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
01:21
Pelosi explains why she rejected GOP lawmakers from January 6 committee
WASHINGTON, DC - JULY 20: U.S. President Donald Trump talks to reporters with Vice President Mike Pence in the Oval Office at the White House July 20, 2020 in Washington, DC. Trump hosted Republican Congressional leaders and members of his cabinet to talk about a proposed new round of financial stimulus to help the economy during the ongoing global coronavirus pandemic.  (Photo by Doug Mills-Pool/Getty Images)
Pool/Getty Images North America/Getty Images
WASHINGTON, DC - JULY 20: U.S. President Donald Trump talks to reporters with Vice President Mike Pence in the Oval Office at the White House July 20, 2020 in Washington, DC. Trump hosted Republican Congressional leaders and members of his cabinet to talk about a proposed new round of financial stimulus to help the economy during the ongoing global coronavirus pandemic. (Photo by Doug Mills-Pool/Getty Images)
Now playing
06:43
Trump shares disappointment with Pence in new audio recording
Washington CNN —  

A federal district judge has told the accounting firm Mazars it will need to turn over Donald Trump’s accounting records from before he was President to the Democratic-controlled House Oversight Committee.

In a 41-page opinion, Judge Amit Mehta of the DC District Court dealt a significant blow to the White House as he rejected Trump’s attempt to block the committee’s subpoena, asserting that Congress is well within its authority to investigate the President.

Mehta’s writings will likely be more fodder for other judges to consider as Trump and his Cabinet try to hold off Congress from getting the President’s business records, such as through the IRS, banks and in other court fights.

Already, the House of Representatives has flagged the ruling to a judge in New York, where another court is considering challenges to House subpoenas to Deutsche Bank and Capitol One for more Trump records.

Congress specifically can probe the President for conflicts of interest and ethical questions, Mehta wrote, reaching into history – citing everything from the presidency of James Buchanan, to the Teapot Dome scandal, to Watergate and Whitewater – to back up his ruling.

“History has shown that congressionally-exposed criminal conduct by the president or a high-ranking Executive Branch official can lead to legislation,” Mehta wrote.

“It is simply not fathomable that a Constitution that grants Congress the power to remove a president for reasons including criminal behavior would deny Congress the power to investigate him for unlawful conduct – past or present – even without formally opening an impeachment inquiry,” he added.

Trump’s legal team plans to appeal, a person familiar with the case said Monday.

Mehta’s opinion, coming not even a week after a hearing in the case, will kickstart a race to appeals courts.

Mazars won’t have to turn over the subpoena for another seven days, according to the judge, but other courts will have to step in to stop the accounting firm from complying with Congress after that.

“The court is well aware that this case involves records concerning the private and business affairs of the President of the United States. But on the question of whether to grant a stay pending appeal, the President is subject to the same legal standard as any other litigant that does not prevail,” Mehta wrote.

The House Oversight Committee subpoena of Mazars seeks a vast amount of communications and financial records related to the firm’s work for Trump himself, as well as his businesses and foundation from 2011 through 2018.

Mazars became a target in the House investigation after former Trump personal attorney Michael Cohen accused the President of fudging his wealth in an unsuccessful attempt to buy the Buffalo Bills football team and reduce his real estate tax burden.

Oversight committee Chairman Elijah Cummings called the ruling a “resounding victory for the rule of law and our Constitutional system of checks and balances.”

“The court recognized the basic, but crucial fact that Congress has authority to conduct investigations as part of our core function under the Constitution,” the Maryland Democrat said in a statement.

Trump immediately called the ruling “crazy.”

“We disagree with that ruling, it’s crazy,” Trump told reporters Monday evening before departing the White House for a rally in Pennsylvania, noting that Mehta was appointed by President Barack Obama.

“This never happened to any other president,” he added, saying that Democrats are trying to “get a redo” on the investigation into Russian meddling in the 2016 election.

“The Democrats were very upset with the Mueller report, as perhaps they should be,” the President said.

CNN’s Nikki Carvajal contributed to this report.