State Assemblyman Tim Donnelly, a tea party member from San Bernardino County, presented two bills to the Assembly Judiciary Committee, which voted 7-3 against both Tuesday. The votes were along party lines.

The main bill, AB26, would have allowed residents to file lawsuits against so-called “sanctuary cities,” which do not cooperate with federal immigration officials. It also would have required employers to verify applicants’ citizenship.

Under the second bill, AB1018, the same verification would have been required for anyone applying for public benefits.