A Maryland Senate committee voted Thursday night to recommend approval of a measure that would limit the ability of Immigration and Customs Enforcement agents to operate in the state, even as the committee continues to rework the language of the bill.

The Senate Judicial Proceedings Committee voted 6-2 to advance Senate Bill 791, the Community Trust Act, to the full Senate for consideration. A version of the bill is expected to be on the floor Friday.

What version it will be remains to be seen: Sen. William C. Smith Jr. (D-Montgomery), the committee chair, said after the Senate adjourned Thursday that the bill would be different from the one that was introduced. Smith said the state Department of Legislative Services is crafting the bill and it would be ready to “be released on the floor tomorrow.”

He declined to comment on some of the specifics of the bill.

The bill, sponsored by Sen. Clarence Lam (D-Anne Arundel and Howard), seeks to close a loophole that lets local law enforcement agencies and jails detain any individuals based on immigration status and requests from ICE.

Current law permits local law enforcement agencies to assist ICE based on administrative warrants from the Department of Homeland Security or the Justice Department. The bill would prohibit cooperation with federal immigration officials unless it was ordered by a court, in the form of a judicial warrant from a judge, not a bureaucrat.

A House version sponsored by Del. N. Scott Phillips (D-Baltimore County) was heard in February before the Judiciary Committee, but it hasn’t advanced.

During the Senate committee’s voting session Thursday in the State House’s Silver Room, Sen. Mary-Dulany James (D-Harford) expressed concern that any changes in the bill shouldn’t “hamper our own law enforcement while we’re trying to protect certain people. I don’t want us to hamstring law enforcement … and the job we ask them to do is to keep the public safe.”

A few minutes later while the committee continued discussion on the measure, James expressed frustration when Sen. Chris West (R-Baltimore and Carroll) interjected to present a recommendation on the bill.

“I’m done,” James said. She stood up and calmly walked out the room and didn’t cast a vote. Sens. William G. Folden (R-Frederick) and C. Anthony Muse (D-Prince George’s) were not present to cast a vote in the committee hearing.

West and Sen. Mike McKay (R-Western Maryland) voted against advancing the measure.

The committee’s vote comes just a day after the immigrant advocacy group We Are CASA led a rally at Lawyers Mall with about 200 people in attendance. Their message: “Pass the Community Trust Act now.”

Cathryn Jackson, policy director with We Are CASA, in the State House on Thursday, after the Senate Judicial Proceedings Committee voted to advance the Community Trust Act. (Photo by William J. Ford/Maryland Matters)

Several of those same people who traveled to Annapolis for Wednesday’s rally showed up to the State House on Thursday.

CASA staff, its members and other advocates were pleased that Gov. Wes Moore (D) earlier this year signed into law a ban on the so-called 287(g) agreements between ICE and local law enforcement agencies.

They say the Community Trust Act complements the 287(g) ban and helps keep the state from participating in aggressive federal immigration enforcement tactics endorsed by President Donald Trump (R).

Cathryn Jackson, policy director with We Are CASA, expressed cautious optimism in the bill advancing out of the Senate committee Thursday. The last day of the session is Monday.

“I think our understanding is that this bill, with the amendments included, is still going to be a tremendous victory for a lot of people,” she said. “Hundreds and hundreds of people are going to be impacted if we can get this to the finish line. If there is a commitment not to weaken the bill further on the floor and to get it through in time.”