(WHTM) -- More than $6 million in AmeriCorps funding must go back to Pennsylvania, a federal judge in Maryland ruled Thursday.

Last month, Governor Josh Shapiro joined 25 other states in a lawsuit challenging President Donald Trump's decision to cancel AmeriCorps grants.

U.S. District Judge Deborah Boardman issued a temporary court order blocking the order after finding it likely violated a federal law requiring a public notice-and-comment period.

Shapiro celebrated the judge's decision in a social media post.

"The federal government made a commitment to organizations across the Commonwealth, and with the abrupt termination of AmeriCorps, the Trump Administration went back on that commitment without obeying the law," the governor said.

AmeriCorps has 655 active members serving at 248

See Full Page