; or (ii) a second or subsequent conviction for driving while intoxicated (including a conviction for driving under the influence of or impaired by alcohol or drugs). . (b) Effective date The amendments made by subsection (a) shall take effect on the date of the enactment of this Act and apply to convictions entered on or after such date. 310. Detention of dangerous aliens (a) In general Section 241(a) of the Immigration and Nationality Act ( 8 U.S.C. 1231(a) ) is amended— (1) by striking Attorney General each place it appears, except for the first reference in paragraph (4)(B)(i), and inserting Secretary of Homeland Security ; (2) in paragraph (1), by amending subparagraph (B) to read as follows: (B) Beginning of period The removal period begins on the latest of the following: (i) The date the order of removal becomes administratively final. (ii) If the alien is not in the custody of the Secretary on the date the order of removal becomes administratively final, the date the alien is taken into such custody. (iii) If the alien is detained or confined (except under an immigration process) on the date the order of removal becomes administratively final, the date the alien is taken into the custody of the Secretary, after the alien is released from such detention or confinement. ; (3) in paragraph (1), by amending subparagraph (C) to read as follows: (C) Suspension of period (i) Extension The removal period shall be extended beyond a period of 90 days and the Secretary may, in the Secretary’s sole discretion, keep the alien in detention during such extended period if— (I) the alien fails or refuses to make all reasonable efforts to comply with the removal order, or to fully cooperate with the Secretary’s efforts to establish the alien’s identity and carry out the removal order, including making timely application in good faith for travel or other documents necessary to the alien's departure or conspires or acts to prevent the alien's removal that is subject to an order of removal