; or (bb) a commensurate alternative award from a public or private high school or secondary school; (II) obtained— (aa) a general education development certificate recognized under State law; or (bb) a high school equivalency diploma in the United States; (III) been admitted to an institution of higher education; or (IV) valid employment authorization; (iv) the alien has been a person of good moral character since the date on which the alien initially entered the United States; (v) subject to subparagraph (C)— (I) the alien is not inadmissible under paragraph (1), (2), (3), (4), (6)(E), (8), (10)(A), (10)(C), or (10)(D) of section 212(a); (II) the alien is not deportable under paragraph (1)(E), (1)(G), (2), (4), (5), or (6) of section 237(a); (III) the alien has not ordered, incited, assisted, or otherwise participated in the persecution of any person on account of race, religion, nationality, membership in a particular social group, or political opinion; and (IV) other than an offense under State or local law for which an essential element is the immigration status of the alien, a minor traffic offense, or a violation of this section, the alien has not been convicted of— (aa) any offense under Federal or State law punishable by a maximum term of imprisonment of more than 1 year; or (bb) any combination of offenses under Federal or State law, for which the alien was sentenced to imprisonment for a total of more than 1 year; and (vi) the alien has never been subject to a final administrative or judicial order of exclusion, deportation, or removal, except if the alien— (I) has remained in the United States under color of law after the date on which the order was issued; or (II) received the order before the date on which the alien attained the age of 18 years. (C) Waiver With respect to any benefit under this section, for humanitarian purposes, family unity, or for any other purpose for which a waiver would otherwise be in the public interest, the Secretary may waive— (i) subparagraph (B)(v)(IV)