GREENBELT, Md. (AP) — A federal judge has ruled the state of Maryland can’t force state retirees onto a federal prescription drug plan until a lawsuit is decided.

U.S. District Judge Peter Messitte issued the ruling this week.

READ MORE: Baltimore County Officer Opened Fire On Driver Trying To Flee Traffic Stop: Police

Four Maryland state retirees filed the lawsuit last month. They contend Maryland can’t force them to enroll in Medicare Part D when open enrollment begins Oct. 15.

The lawsuit arises from changes made in 2011 to health benefits for state retirees.

READ MORE: Get Booster Shots As Soon As You Can, Health Experts Say, As Omicron's Spread Collides With The Relentless Delta Variant

Shareese DeLeaver-Churchill, a spokeswoman for Gov. Larry Hogan, says the administration hopes to work with the General Assembly to find a permanent solution. Several state lawmakers say they will introduce a bill to repeal the law that kicked state retirees off the state’s prescription drug plan.

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Maryland-Based Vaccine Manufacturer Developing COVID-19 Vaccine That Targets Omicron Variant

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)