; and (B) would not have been so injured or harmed if such alien had not been so benefitted. 3. Civil action for harm by an alien that benefitted from a sanctuary policy (a) Private right of action (1) Cause of action Any individual, or a spouse, parent, or child of such individual (if the individual is deceased or permanently incapacitated), who is the victim of a murder, rape, or any felony (as defined by the State in which the crime occurred) for which an alien has been arrested, convicted, or sentenced to a term of imprisonment of at least 1 year, may bring an action for compensatory damages against a State or a political subdivision of a State, in the appropriate Federal or State court, if such State or political subdivision failed— (A) to comply with a request with respect to an alien that was lawfully made by the Department of Homeland Security pursuant to section 236 or 287 of the Immigration and Nationality Act (8 U.S.C. 1226 and 1357); and (B) (i) to comply with a detainer for such alien; or (ii) to notify the Department about the release of such alien. (2) Statute of limitations An action described in paragraph (1) may not be brought later than 10 years after the later of— (A) the occurrence of the crime referred to in paragraph (1)