In this April 5, 2019, file photo, a U.S. Customs and Border Protection vehicle sits near the wall as President Donald Trump visits a new section of the border wall with Mexico in Calexico. Under pressure to show they have solutions, Democrats are honing proposals to address the surge of families entering the U.S. at the southern border, a problem they say Trump’s restrictive immigration policies are enflaming. (AP Photo/Jacquelyn Martin)

DENVER | A new Colorado law says people suspected of being in the country illegally can’t be kept in jail simply at the request of immigration officials.

Gov. Jared Polis signed the legislation Tuesday. It will take effect Aug. 2.

Immigration and Customs Enforcement can request that inmates suspected of an immigration violation be kept in jail until immigration agents can arrive to take custody of them. Colorado sheriffs have largely refused to honor such requests after courts ruled that keeping someone jailed without a warrant isn’t constitutional. However, two sheriffs were sued last year for holding inmates for ICE.

Colorado Politics reports the bill would have originally barred jail staff from talking with immigration officials but was weakened to satisfy concerns raised by Polis. The law will bar probation officers from providing information to immigration agents.

The Associated Press is an independent, not-for-profit news cooperative of 1,300 newspapers, including The Sentinel, headquartered in New York City. News teams in over 100 countries tell the world’s...