; or (B) resulted in a sentence of time in custody of more than 90 days, excluding an offense for which the sentence was suspended. (6) Threat to national security An alien is a threat to national security if the alien is— (A) inadmissible under section 212(a)(3); or (B) deportable under section 237(a)(4). (7) Threat to public safety An alien is a threat to public safety if the alien— (A) has been convicted of an offense for which an element was participation in a criminal street gang (as defined in section 521(a) of title 18, United States Code); or (B) has engaged in a continuing criminal enterprise (as defined in section 408(c) of the Comprehensive Drug Abuse Prevention and Control Act of 1970 ( 21 U.S.C. 848(c) )). (b) Authorization The Secretary— (1) shall grant provisional protected presence to an alien who files an application demonstrating that he or she meets the eligibility criteria under subsection (c) and pays the appropriate application fee; (2) may not remove such alien from the United States during the period in which such provisional protected presence is in effect unless such status is rescinded pursuant to subsection (g); and (3) shall provide such alien with employment authorization. (c) Eligibility criteria An alien is eligible for provisional protected presence under this section and employment authorization if the alien— (1) was born after June 15, 1981; (2) entered the United States before attaining 16 years of age; (3) continuously resided in the United States between June 15, 2007, and the date on which the alien files an application under this section; (4) was physically present in the United States on June 15, 2012, and on the date on which the alien files an application under this section; (5) was unlawfully present in the United States on June 15, 2012