Congressional Democrats are one step closer to finding out what's in President Donald Trump's financial records. A district court judge ruled Tuesday that Democrats' lawsuit alleging Trump violated the Emoluments Clause through his business can move forward, after the president had tried to halt the case. The ruling gives Democrats the go-ahead to begin the case's “discovery process”—and finally get a look at the president's business records.

The case, which was brought by 200 Democratic Senators and Representatives in 2017, alleges that Trump has violated the Emoluments Clause, which prohibits a president from accepting any benefits from foreign governments without Congress's consent, through the Trump Organization and its foreign ties. U.S. District Judge Emmet G. Sullivan, who issued Tuesday's ruling, previously allowed the case to move forward and sided with Democrats over Trump on the definition of what constitutes an emolument, ruling that the term is “broadly defined as any profit, gain, or advantage.” Though Trump had tried to pause the case so that he could first appeal these preliminary rulings, Sullivan denied Trump's request Tuesday and allowed Democrats' discovery to move forward. Democrats will be able to spend three months on the discovery process, from June 28 to September 27, and said in a previous court filing that they intend to examine financial documents from the Trump Organization and any other businesses the president has a stake in, along with information on Trump's personal finances to determine whether the president is currently receiving any business funds. Once they're finished, the case could be decided quickly; Sullivan said in his ruling that the case will be “poised for resolution within six months.”

Democratic lawmakers celebrated Tuesday's ruling as a success; Sen. Richard Blumenthal, the lead plaintiff in the lawsuit, called the decision a “tremendous victory [that] assures that President Trump will be held accountable to the Constitution and the American people.” “For more than two years, President Trump has thumbed his nose at the American people in flagrant violation of the law,” Blumenthal said in a statement. “Today, the courts spoke: no longer.” The U.S. Department of Justice has vowed to appeal the ruling; spokesperson Kelly Laco said in a statement the case “presents important questions that warrant immediate appellate review and is another impractical attempt to disrupt and distract the President from his official duties.” A similar emoluments case focused on Trump's Washington D.C. hotel, brought by the attorneys general of D.C. and Maryland, is currently paused pending the results of a similar appeal on the discovery process.

Tuesday's ruling marks a rare opportunity for Democratic lawmakers to get access to the president's financial records, as the Trump administration continues to stonewall Democrats' numerous subpoenas and requests for documents as they investigate the president. “The immediate practical impact of this decision is that the plaintiffs will be able to move forward with discovery against the president on a very quick schedule, within the next six months,” attorney Deepak Gupta, whose firm is representing plaintiffs in other emoluments lawsuits, told Newsweek. “Unless the president and his lawyers are able to get a higher court to intervene, this case is going to discovery and Trump is finally going to have to reveal information about the extent to which his properties are accepting payments from foreign governments.”

And when it comes to Trump's foreign business entanglements, there could be a lot for Democrats to find. A recent NBC News analysis found that representatives from at least 22 foreign governments have spent money at Trump properties; the Saudi Arabian government spent $270,000 at Trump's D.C. hotel between November 2016 and February 2017 alone, and the D.C. property has hosted events held by the governments of Kuwait, Bahrain, and Azerbaijan. It was also revealed in March 2017 that the Chinese government had approved nearly 40 Trump trademarks after the president took office.