The Illinois House has approved a plan that prevents what advocates say is harassment of undocumented immigrants.

The so-called TRUST Act was approved 62-49 Monday. It requires a criminal warrant before federal authorities pursue undocumented immigrants.

But Rep. Emanuel “Chris” Welch softened the legislation with input from local police organizations. Police were concerned with earlier legislation which forbid them from participating with federal authorities unless there was a criminal warrant.

But it still prohibits local jails from holding people on immigration detainers so that federal officials may pick them up for possible deportation.

The measure must return to the Senate.