A U.S. district court in Seattle has issued an injunction ordering the Trump administration to allow transgender people from serving openly in the U.S. military.

“I'm incredibly relieved to know that I can continue to do my job and serve our nation without the additional stress of worrying that I could be discharged as soon as next March,” said Staff Sergeant Cathrine Schmid, one of the individual plaintiffs, in the case Karnoski v. Trump.

“Being transgender has no impact on my ability to perform my duties, and I’m grateful that I will be able to continue to serve the people of the United States as this case moves through the courts.”

Trump announced in July via Twitter transgender troops would be prohibited from serving in the military and, a month later, told Secretary of Defense Jim Mattis to discard plans for transgender enlistments that would start in January.

A total of nine individual plaintiffs, all of whom are transgender, and several organizational plaintiffs joined the lawsuit Karnoski v. Trump on behalf of those who would be impacted by a ban on transgender people from serving in the military.

Earlier Monday, a U.S. district court in Washington, D.C., rejected the Trump administration’s request to delay accepting new transgender troops by Jan. 1.

“The court will not stay its preliminary injunction pending defendants’ appeal,” Judge Colleen Kollar-Kotelly wrote Monday.

“In sum, having carefully considered all of the evidence before it, the court is not persuaded that defendants will be irreparably injured by allowing the accession of transgender individuals into the military beginning on January 1, 2018,” she added.

In addition to the case in Washington, D.C., a judge in Maryland has also blocked Trump's transgender ban.

Plaintiffs in the case had argued the Pentagon had been preparing for transgender recruits since June 2016.

“The government cannot credibly claim that it will be irreparably harmed by implementing a policy that it was on track to implement almost six months ago,” they argued in a court filing on Friday.

Because of the court orders, Mattis is required to allow new transgender troops at the beginning of the new year. Although the Obama administration had authorized the enlistments to start last summer, Mattis delayed the step for six months before Trump’s tweets and request.