CHICAGO (AP) — A medical marijuana company plans to ask a Cook County judge to dissolve a court order that is delaying its operation in Kankakee.

Cresco Labs will get a hearing Wednesday afternoon in Chicago on its motion.

Judge Kathleen Kennedy granted the temporary restraining order two weeks ago. It halted the Illinois Department of Agriculture from issuing a marijuana cultivation permit to Cresco.

A competing company claimed the Department of Agriculture broke its own rules when it selected corporations for a limited number of cultivation permits. The competitor filed a lawsuit and soon others followed.

There are now at least four Illinois medical marijuana growing operations entangled in litigation filed by competitors. Lawsuits and other court filings are gumming up the works for cultivators in Joliet, East St. Louis and Shelbyville.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.