The Republican-controlled House of Representatives passed two measures on Thursday targeting sanctuary cities and illegal immigrants.

Kate's Law is named after Kate Steinle, who was murdered in San Francisco by an illegal immigrant in 2015. Steinle's killer had been deported from the United States multiple times and repeatedly returned.

The bill, passed 257 to 167, increases the penalties for illegal immigrants who come back into the United States multiple times after being deported, CNN reports.

The other bill passed, the No Sanctuary for Criminals Act, forces cities to cooperate with federal immigration laws and agencies and would allow the federal government to deny funds for law enforcement if the cities do not comply with the law. This measure passed 228 to 195.

Both bills were introduced by Rep. Bob Goodlatte (R., Va.), the chairman of the House Judiciary Committee.

President Donald Trump released a statement praising the bills passing the House.

"The implementation of these policies will make our communities safer," Trump said. "Opposing these bills, and allowing dangerous criminals back into our communities, our schools, and the neighborhoods where our children play, puts all of us at risk."

Trump also called on the Senate to pass the bills so that he may sign them into law.

"Now that the House has acted, I urged the Senate to take up these bills, pass them, and send them to my desk," Trump said. "I am calling on all lawmakers to vote for these bills and to save American lives."