The attorneys general for Maryland and the District of Columbia are the first plaintiffs to survive a motion to dismiss in a so-called “emoluments” lawsuit, which alleges that President Donald Trump is violating the Constitution by maintaining ownership of his vast business empire while in office.

U.S. District Judge Peter Messitte of the District of Maryland on Wednesday denied, in part, the government’s motion to dismiss the lawsuit brought by Maryland Attorney General Brian Frosh and District of Columbia Attorney General Karl Racine, ruling the AGs have standing to bring their lawsuit. The suit claims Trump is violating the Constitution’s foreign and domestic emoluments clauses because he accepts “gifts” from foreign and domestic governments via payments to his private businesses.