TITLE 8 > CHAPTER 12 > SUBCHAPTER II > Part V > § 1252
(a) Applicable provisions
(2) Matters not subject to judicial review
(B) Denials of discretionary relief
Notwithstanding any other provision of law (statutory or nonstatutory), including section 2241 of title 28, or any other habeas corpus provision, and sections 1361 and 1651 of such title, and except as provided in subparagraph (D), and regardless of whether the judgment, decision, or action is made in removal proceedings, no court shall have jurisdiction to review—
(i) any judgment regarding the granting of relief under section 1182 (h), 1182 (i), 1229b, 1229c, or 1255 of this title, or
(ii) any other decision or action of the Attorney General or the Secretary of Homeland Security the authority for which is specified under this subchapter to be in the discretion of the Attorney General or the Secretary of Homeland Security, other than the granting of relief under section 1158 (a) of this title.