The U.S. Department of Homeland Security will have to wait at least another three weeks to restart the conversion of a Western Maryland warehouse into an immigrant processing and detention facility, a federal judge ruled Thursday.

U.S. District Judge Brendan A. Hurson temporarily paused the construction on March 11 for two weeks after Maryland Attorney General Anthony Brown sued to shut the whole project down, citing its environmental impact. The temporary restraining order was set to expire next week.

Hurson wrote in an order released Thursday morning that he intends to hear arguments in mid-April over whether to stop the warehouse conversion. To do that, the judge extended his temporary stop-work order to give him time to rule on the issue, which he expects to do no later than April 16.

The pause on construction came shortly after the DHS awarded a $113 million contract to KVG LLC for the build-out of the facility. The Williamsport site is one of dozens of similar warehouses around the country that U.S. Immigration and Customs Enforcement officials plan to use to facilitate the deportation of people accused of being in the country without legal status.