(CNN) A second federal judge blocked enforcement of President Donald Trump's prohibition on transgender individuals serving in the US military Tuesday, finding active-duty service members face substantial harm from the ban.

In a 53-page ruling , US District Court Judge Marvin Garbis in Maryland concluded that transgender service members are "already suffering harmful consequences," and went a step further than an earlier ruling by specifically prohibiting the Trump administration from blocking those challenging the ban from completing their medically necessary surgeries.

"They have further demonstrated that they are already suffering harmful consequences such as the cancellation and postponements of surgeries, the stigma of being set apart as inherently unfit, facing the prospect of discharge and inability to commission as an officer, the inability to move forward with long-term medical plans, and the threat to their prospects of obtaining long-term assignments," Garbis wrote. "Waiting until after the directives have been implemented to challenge their alleged violation of constitutional rights only subjects them to substantial risk of even greater harms."

Garbis, who was appointed by President George H.W. Bush, follows Judge Colleen Kollar-Kotelly in DC, who also ruled against the ban in October, but only blocked the directives concerning joining and retaining military personnel.

The Trump administration has continually argued that these suits are "premature" and moved to dismiss the claims, saying the policy is still subject to review, but that argument has, thus far, proved unpersuasive in court.

Read More