The state Supreme Court of Kansas ruled Saturday night in favor of Gov. Laura Kelly, a Democrat whose recent order limiting religious gatherings to 10 people because of the coronavirus outbreak was overturned by a GOP-led panel of state lawmakers, according to reports.

The court ruled that the legislative panel, composed of state House and Senate members, overstepped its authority when it voted 5-2 to overturn Kelly’s executive order.

Kelly had filed a petition with the court Thursday, challenging the panel’s action, the Topeka Capital-Journal reported.