With the fate of the state’s proposed Trust Act looking bleak, Maryland municipalities are enacting their own policies to protect undocumented immigrants.

The Maryland Trust Act would limit police cooperation with federal immigration authorities. The bill would make it illegal for law enforcement officers to ask about a person’s immigration status during stops and arrests. It would also prevent officers from detaining people suspected of being in the country illegally if requested by federal authorities unless a judge has signed a warrant.

Supporters hoped to pass the bill before the end of this year’s legislative session April 10, but it has not advanced out of a senate committee.

The House of Delegates voted 83-55 to pass the bill in March. Gov. Larry Hogan has said he will veto the act if it passes because it will “endanger” Maryland citizens.

[Read more: University of Maryland will have an undocumented student coordinator]

Several jurisdictions in the state, including Montgomery County and Baltimore City, currently follow policies that help protect undocumented residents. The Hyattsville City Council took steps on Monday to become a sanctuary city, preventing local police from enforcing federal immigration law.

A preliminary vote on a sanctuary city resolution passed 8-2. The council must take a final vote in two weeks to officially adopt the designation.

While “sanctuary city” does not have a standardized definition, the phrase typically means city officials will not cooperate with U.S. Immigration and Customs Enforcement’s efforts to deport immigrants who are in the country illegally.

Hyattsville would be Maryland’s second official sanctuary city. Takoma Park in Montgomery County has had sanctuary status for more than three decades, according to The Washington Post.

Prince George’s County has policies and protocols in place to protect undocumented immigrants from prosecution by federal authorities. College Park, Greenbelt and Mount Rainier are also considering becoming sanctuary cities.

[Read more: UMD training to serve undocumented students grows after President Trump’s election]

Hyattsville’s decision follows President Trump’s pledges to step up immigration enforcement, although the administration has said Deferred Action for Childhood Arrivals — an Obama administration directive that protected some undocumented immigrants who came to the country as children from deportation — will remain in place.

The Department of Homeland Security has said it will deport undocumented immigrants convicted of any crime. Under the Obama administration, the focus was on those who had been convicted of serious crimes.

The Trump administration has also said it will cut federal funding from sanctuary cities and jurisdictions, making some officials in Maryland and nationwide opposed to declaring sanctuary status, according to The Post.

But council member Patrick Paschall, the bill’s lead sponsor, said federal funding accounts for less than one-tenth of a percent of Hyattsville’s $16 million annual budget.

Students have also been advocating for this university to become a “sanctuary campus.” ProtectUMD — a coalition of 25 student groups that presented university administration with a list of demands for new resources, initiatives and programs to serve marginalized populations in November — requested that administrators designate the university a sanctuary campus for undocumented students and their families.

The Student Government Association passed a resolution in February urging the administration to adopt sanctuary status, and the Graduate Student Government passed a similar resolution.

Baltimore County has not declared sanctuary status, but County Executive Kevin Kamenetz signed an order Wednesday prohibiting county police from asking about immigration status. Under the order, police would not cooperate with ICE “except in the case of a criminal warrant signed by a judicial official,” The Post reported. The order will also prevent law enforcement from holding detainees after their release dates at the request of immigration agents.

CORRECTION: Due to a reporting error, a previous version of this story incorrectly stated that federal funding accounts for less than one-tenth of Hyattsville’s $16 million annual budget. It accounts for less than one-tenth of a percent. This story has been updated.