ABC News April 30, 2020

Michigan judge sides with governor in lawsuit over coronavirus shelter-in-place order

WATCH: Protesters storm Michigan Capitol building

A Michigan judge sided with Gov. Gretchen Whitmer Wednesday in a lawsuit filed against her shelter-in-place order and denied the plaintiffs an injunction.

Court of Claims Judge Christopher M. Murray ruled Steve Martinko and other plaintiffs' claims that the order infringed on their constitutional rights were not strong due to the severity of the pandemic. A preliminary injunction of the governor's order, which has been in effect since March 24, "would not serve the public interest, despite the temporary harm to plaintiffs’ constitutional rights."

MORE: Officials in Detroit suburb rebuke city commissioner who attended stay-at-home protest

"Although the Court is painfully aware of the difficulties of living under the restrictions of these executive orders, those difficulties are temporary, while to those who contract the virus and cannot recover (and to their family members and friends), it is all too permanent," he wrote in the court order.

As of Thursday, Michigan has 40,399 confirmed COVID-19 cases and 3,670 related deaths, according to data from the Center for Systems Science and Engineering at Johns Hopkins University.

Jeff Kowalsky/AFP via Getty Images
Demonstrators take part in an "American Patriot Rally," organized on April 30, 2020, by Michigan United for Liberty on the steps of the Michigan State Capitol in Lansing, demanding the reopening of businesses.

In recent weeks, Whitmer has been the target of rallies who have held protests outside the state capitol demanding that she lift the order and reopen the economy. Whitmer has repeatedly said she is following the guidance of her health officials and will push for social distancing until the pandemic is over.

MORE: Governors dealing with protests ask Pence for help keeping people home, access to testing gear

The plaintiffs claimed that the Emergency Management Act, which extends Whitmer's powers during a state of emergency, is "an unconstitutional delegation of legislative power," however, the judge ruled that the act has clear distinct rules and procedures for declining a state of emergency.

Michigan Office of the Governor via AP, Pool
Michigan Gov. Gretchen Whitmer addresses the state during a speech in Lansing, Mich., April 29, 2020. The governor proposed free college for health care workers and others involved in the coronavirus fight, likening their service during the pandemic to soldiers who got a free education after returning home from World War II.

Representatives for the plaintiffs could not be reached for immediate comment. Michigan Attorney General Dana Nessel said she was pleased with the decision.

"This pandemic has already taken more than 3,600 lives in Michigan and many more around the world," she said in a statement. "The primary goal of the Stay Home, Stay Safe order has always been to protect human life."

What to know about Coronavirus: