The Howard County Council voted to make the district a sanctuary jurisdiction Monday night.
The bill passed with a 3-2 vote, giving certain protections to illegal immigrants.
Before Monday's vote, county executive Allan Kittleman said he would veto the bill if it passes. The measure would mean police wouldn't be allowed to ask people about their immigration status unless they were under a criminal investigation.
Supporters of the bill say it'll help maintain diversity in Howard County, and would ease the fears of immigrants who are worried about their future under President Trump's administration.
Kittleman argues the bill won't prevent illegal immigrants from being deported and could put the county's federal funding in jeopardy.
In his first few days in office, the President signed an executive order to withhold federal funding from so-called sanctuary cities.