A Mexican immigrant scheduled for deportation has sued Chicago police in federal court, alleging he was wrongly listed in a gang database and that it cost him the chance to get federal protection and remain in the U.S.

Twenty-five-year-old Luis Vicente Pedrote-Salinas of Chicago filed the lawsuit Tuesday. He was brought to the U.S. as a child and doesn't have legal permission to stay. He was hoping to get protection under executive action allowing young immigrants temporary relief.

Immigrant Sues Chicago Police Alleging Gang Database Error

The lawsuit says immigration agents acted on false information from the database, raided his home in 2011 and detained him.

Immigrant Sues Chicago Police Alleging Gang Database Error

Attorneys say Pedrote was never in a gang and wasn't allowed to challenge the database, which is the subject of other lawsuits. He's to be deported July 20.

Immigrant Sues Chicago Police Alleging Gang Database Error

Chicago police declined comment.